From 4ab5b32edf0f926dbe2326d806c6bd9a3c6cedd4 Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Tue, 14 May 2013 11:08:45 +0200 Subject: [PATCH] build:add sbin and bin to path. normal users don't have sbin in their path where sfdisk is installed. Change-Id: I7ee3412ca0f6fb208310aa7a0ee8cd88c0f3f80c --- releasetools/arm_sdimage.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releasetools/arm_sdimage.sh b/releasetools/arm_sdimage.sh index 484313aef..9b76ef478 100755 --- a/releasetools/arm_sdimage.sh +++ b/releasetools/arm_sdimage.sh @@ -24,6 +24,8 @@ then echo "Please invoke me from the root source dir, where ${BUILDSH} is." exit 1 fi +export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH + for needed in sfdisk mcopy dd wget mkfs.vfat do if ! which $needed 2>&1 > /dev/null -- 2.44.0