From: Kees Jongenburger Date: Tue, 14 May 2013 09:08:45 +0000 (+0200) Subject: build:add sbin and bin to path. X-Git-Tag: v3.3.0~987 X-Git-Url: http://zhaoyanbai.com/repos/dnssec-keyfromlabel.html?a=commitdiff_plain;h=4ab5b32edf0f926dbe2326d806c6bd9a3c6cedd4;p=minix.git build:add sbin and bin to path. normal users don't have sbin in their path where sfdisk is installed. Change-Id: I7ee3412ca0f6fb208310aa7a0ee8cd88c0f3f80c --- 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