summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQais Yousef <qais.yousef@arm.com>2019-02-27 22:44:03 +0000
committerQais Yousef <qais.yousef@arm.com>2019-03-04 19:25:48 +0000
commit75d4b5602d890abdfa9a0df87ea007ff029a326d (patch)
tree681b0135d7969391313087ee2158c191dfca6aed
parentfbb058114bcfa71ab9cab9f30662af7a632e176a (diff)
downloadadeb-75d4b5602d890abdfa9a0df87ea007ff029a326d.tar.gz
addons: fix more busybox ash compatibility
Busybox ash is very picky about sourcing. Use the full path to make it happy. Signed-off-by: Qais Yousef <qais.yousef@arm.com>
-rwxr-xr-xaddons/run2
-rwxr-xr-xaddons/run-command2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/run b/addons/run
index 00f95fd..b38fb43 100755
--- a/addons/run
+++ b/addons/run
@@ -3,6 +3,6 @@
spath=$( cd "$(dirname "$0")" ; pwd -P )
cd $spath
-source run.common
+source $spath/run.common
chroot debian/ /bin/bash
diff --git a/addons/run-command b/addons/run-command
index 1e20fdc..0c028cc 100755
--- a/addons/run-command
+++ b/addons/run-command
@@ -3,7 +3,7 @@
spath=$( cd "$(dirname "$0")" ; pwd -P )
cd $spath
-source run.common
+source $spath/run.common
# Directly execute a command within the chroot of an Android device
CMD="$*"