From: Ben Gras Date: Fri, 16 Sep 2005 12:25:43 +0000 (+0000) Subject: Build as bin X-Git-Tag: v3.1.0~77 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=b392d8f91e459a3e4559342c733fee2dd6897f3b;p=minix.git Build as bin --- diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 3a7ab9632..41b0f6e1f 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -2,7 +2,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin cd /usr/src || exit 1 ( cd etc && make install ) -make world install || exit 1 +su bin -c 'make world install' || exit 1 cd tools || exit 1 rm revision rm /boot/image/* @@ -14,9 +14,9 @@ cp image_small /boot || exit 1 cd /usr/src || exit 1 make clean # Let man find the manpages -makewhatis /usr/man -makewhatis /usr/gnu/man -makewhatis /usr/local/man +su bin -c 'makewhatis /usr/man' +su bin -c 'makewhatis /usr/gnu/man' +su bin -c 'makewhatis /usr/local/man' mv /usr/src/commands /usr/src.commands mv /usr/src/contrib /usr/src.contrib exit 0