All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ncurses: fix do_install failure when base_libdir has more than one level
@ 2018-03-09  9:51 Koen Kooi
  2018-03-09  9:53 ` Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2018-03-09  9:51 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Other sections of the .inc already use mkdir -p, so use it here as well.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta/recipes-core/ncurses/ncurses.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 1f21cd4..106dcb0 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -227,7 +227,7 @@ do_install() {
         if [ ! -d "${D}${base_libdir}" ]; then
             # Setting base_libdir to libdir as is done in the -native
             # case will skip this code
-            mkdir ${D}${base_libdir}
+            mkdir -p ${D}${base_libdir}
             mv ${D}${libdir}/libncurses.so.* ${D}${base_libdir}
             ! ${ENABLE_WIDEC} || \
                 mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir}
-- 
2.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ncurses: fix do_install failure when base_libdir has more than one level
  2018-03-09  9:51 [PATCH] ncurses: fix do_install failure when base_libdir has more than one level Koen Kooi
@ 2018-03-09  9:53 ` Koen Kooi
  0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2018-03-09  9:53 UTC (permalink / raw)
  To: openembedded-devel

Wrong list, sorry

Op 09-03-18 om 10:51 schreef Koen Kooi:
> Other sections of the .inc already use mkdir -p, so use it here as well.
> 
> Signed-off-by: Koen Kooi <koen.kooi@linaro.org> --- meta/recipes-core/ncurses/ncurses.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 1f21cd4..106dcb0 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++
> b/meta/recipes-core/ncurses/ncurses.inc @@ -227,7 +227,7 @@ do_install() { if [ ! -d "${D}${base_libdir}" ]; then # Setting base_libdir to libdir as is done in the -native #
> case will skip this code -            mkdir ${D}${base_libdir} +            mkdir -p ${D}${base_libdir} mv ${D}${libdir}/libncurses.so.* ${D}${base_libdir} ! ${ENABLE_WIDEC}
> || \ mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir}
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ncurses: fix do_install failure when base_libdir has more than one level
@ 2018-03-09  9:53 Koen Kooi
  0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2018-03-09  9:53 UTC (permalink / raw)
  To: openembedded-core; +Cc: Koen Kooi

Other sections of the .inc already use mkdir -p, so use it here as well.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta/recipes-core/ncurses/ncurses.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 1f21cd4..106dcb0 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -227,7 +227,7 @@ do_install() {
         if [ ! -d "${D}${base_libdir}" ]; then
             # Setting base_libdir to libdir as is done in the -native
             # case will skip this code
-            mkdir ${D}${base_libdir}
+            mkdir -p ${D}${base_libdir}
             mv ${D}${libdir}/libncurses.so.* ${D}${base_libdir}
             ! ${ENABLE_WIDEC} || \
                 mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir}
-- 
2.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-09 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09  9:51 [PATCH] ncurses: fix do_install failure when base_libdir has more than one level Koen Kooi
2018-03-09  9:53 ` Koen Kooi
2018-03-09  9:53 Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.