From: Ben Gras Date: Sun, 26 Mar 2006 18:08:08 +0000 (+0000) Subject: Let builds work with any shell (set SHELL= so su works) X-Git-Tag: v3.1.2a~130 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/jquery.js?a=commitdiff_plain;h=17ff3090c441bf06f3106045764fcda3ca8de9af;p=minix.git Let builds work with any shell (set SHELL= so su works) --- diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 5f363f722..889666e55 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -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 diff --git a/tools/release.sh b/tools/release.sh index f3e010f9e..1735102c7 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -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`"