]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-run-native: explicitly use bash
authorbrian avery <brian.avery@intel.com>
Wed, 12 Apr 2017 21:29:14 +0000 (14:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Apr 2017 09:52:54 +0000 (10:52 +0100)
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>
scripts/oe-run-native

index de3c02ed3462eefbd35213966ed78959bce11818..12f7ce60f9754d5bde686c526f0d89986d277536 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Copyright (c) 2016,  Intel Corporation.
 # All Rights Reserved