summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian avery <brian.avery@intel.com>2017-04-12 14:29:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-13 10:52:54 +0100
commit334020a800434d20e7c3312890a2baca295c41c7 (patch)
tree358973c1c7be744ff7f57a5b9ac3542628a33990
parentfc61211efd57d1858954e5cd241fce58dee9d01b (diff)
downloadopenembedded-core-contrib-334020a800434d20e7c3312890a2baca295c41c7.tar.gz
openembedded-core-contrib-334020a800434d20e7c3312890a2baca295c41c7.tar.bz2
openembedded-core-contrib-334020a800434d20e7c3312890a2baca295c41c7.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-run-native2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-run-native b/scripts/oe-run-native
index de3c02ed34..12f7ce60f9 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