Let builds work with any shell (set SHELL= so su works)

This commit is contained in:
Ben Gras 2006-03-26 18:08:08 +00:00
parent 04ad142c76
commit 17ff3090c4
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,7 @@
#!/bin/sh
set -e
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export SHELL=/bin/sh
cd /usr/src || exit 1
make etcfiles
su bin -c 'make world install' || exit 1

View file

@ -3,6 +3,7 @@
PACKAGEDIR=/usr/bigports/Packages
PACKAGESOURCEDIR=/usr/bigports/Sources
secs=`expr 32 '*' 64`
export SHELL=/bin/sh
make_hdimage()
{
@ -130,7 +131,7 @@ fi
IMGBZ=${IMG}.bz2
echo "Making $IMGBZ"
USRMB=200
USRMB=350
USRBLOCKS="`expr $USRMB \* 1024 \* 1024 / $BS`"
USRSECTS="`expr $USRMB \* 1024 \* 2`"