build:add sbin and bin to path.
normal users don't have sbin in their path where sfdisk is installed. Change-Id: I7ee3412ca0f6fb208310aa7a0ee8cd88c0f3f80c
This commit is contained in:
parent
062d5d7811
commit
4ab5b32edf
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ then echo "Please invoke me from the root source dir, where ${BUILDSH} is."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
for needed in sfdisk mcopy dd wget mkfs.vfat
|
||||||
do
|
do
|
||||||
if ! which $needed 2>&1 > /dev/null
|
if ! which $needed 2>&1 > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue