[oe-commits] [openembedded-core] 26/26: oe-run-native: explicitly use bash

git at git.openembedded.org git at git.openembedded.org
Wed Apr 12 23:01:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit dbac29ab3b0748286befafe7f34b70604c6cbc53
Author: brian avery <brian.avery at intel.com>
AuthorDate: Wed Apr 12 14:29:14 2017 -0700

    oe-run-native: explicitly use bash
    
    This script sources another script (oe-find-native-sysroot) with
    arguments.  It was using /bin/sh. Sourcing with arguments works only in
    bash so it was failing in dash.  This commit makes it dash proof.
    
    Signed-off-by: brian avery <brian.avery at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/oe-run-native | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-run-native b/scripts/oe-run-native
index de3c02e..12f7ce6 100755
--- a/scripts/oe-run-native
+++ b/scripts/oe-run-native
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Copyright (c) 2016,  Intel Corporation.
 # All Rights Reserved

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list