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

git at git.openembedded.org git at git.openembedded.org
Thu Apr 13 09:58:21 UTC 2017


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

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

commit 334020a800434d20e7c3312890a2baca295c41c7
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