]> Zhao Yanbai Git Server - minix.git/commitdiff
build:add sbin and bin to path. 58/558/2
authorKees Jongenburger <kees.jongenburger@gmail.com>
Tue, 14 May 2013 09:08:45 +0000 (11:08 +0200)
committerKees Jongenburger <keesj@minix3.org>
Thu, 16 May 2013 18:39:18 +0000 (20:39 +0200)
normal users don't have sbin in their path where sfdisk is
installed.

Change-Id: I7ee3412ca0f6fb208310aa7a0ee8cd88c0f3f80c

releasetools/arm_sdimage.sh

index 484313aefbf4db8fb0aa72e36da3199fa401df83..9b76ef478ff6d9fb968382ad75a81abb46a444a1 100755 (executable)
@@ -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