[OE-core] [PATCH 3/4] autogen: update libopts.m4's patch

Robert Yang liezhi.yang at windriver.com
Thu Apr 13 09:57:25 UTC 2017


Use 'test -n "$POSIX_SHELL"' rather than 'test -x "$POSIX_SHELL"' so
that 'POSIX_SHELL = "/usr/bin/env sh"' can work.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 .../0001-config-libopts.m4-regenerate-it-from-config-libopts..patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/autogen/autogen/0001-config-libopts.m4-regenerate-it-from-config-libopts..patch b/meta/recipes-devtools/autogen/autogen/0001-config-libopts.m4-regenerate-it-from-config-libopts..patch
index a14018e..e247594 100644
--- a/meta/recipes-devtools/autogen/autogen/0001-config-libopts.m4-regenerate-it-from-config-libopts..patch
+++ b/meta/recipes-devtools/autogen/autogen/0001-config-libopts.m4-regenerate-it-from-config-libopts..patch
@@ -30,7 +30,7 @@ index c7ba4f3..51e6a39 100644
    AC_PROG_SED
    [while :
    do
-+      test -x "$POSIX_SHELL" && break
++      test -n "$POSIX_SHELL" && break
        POSIX_SHELL=`which bash`
        test -x "$POSIX_SHELL" && break
        POSIX_SHELL=`which dash`
-- 
2.10.2




More information about the Openembedded-core mailing list