From: Ben Gras Date: Wed, 29 Jun 2011 17:23:49 +0000 (+0200) Subject: release.sh: add /usr/pkg/bin to $PATH for clang X-Git-Tag: v3.2.0~507 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.dnssec-dsfromkey.html?a=commitdiff_plain;h=83b3a3df745eadab1327b20738bf7f3090d3fb66;p=minix.git release.sh: add /usr/pkg/bin to $PATH for clang --- diff --git a/tools/release.sh b/tools/release.sh index cba55f2dd..d280c8839 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -239,7 +239,7 @@ chown -R root $RELEASEDIR/usr/share/mk cp chrootmake.sh $RELEASEDIR/usr/$SRC/tools/chrootmake.sh echo " * Make hierarchy" -chroot $RELEASEDIR "PATH=/$XBIN sh -x /usr/$SRC/tools/chrootmake.sh etcfiles" || exit 1 +chroot $RELEASEDIR "PATH=/$XBIN:/usr/pkg/bin sh -x /usr/$SRC/tools/chrootmake.sh etcfiles" || exit 1 for p in $PREINSTALLED_PACKAGES do echo " * Pre-installing: $p from $PKG_ADD_URL" @@ -247,7 +247,7 @@ do echo " * Pre-installing: $p from $PKG_ADD_URL" done echo " * Chroot build" -chroot $RELEASEDIR "PATH=/$XBIN MAKEMAP=$MAKEMAP sh -x /usr/$SRC/tools/chrootmake.sh" || exit 1 +chroot $RELEASEDIR "PATH=/$XBIN:/usr/pkg/bin MAKEMAP=$MAKEMAP sh -x /usr/$SRC/tools/chrootmake.sh" || exit 1 # Copy built images for cd booting cp $RELEASEDIR/boot/image_big image echo " * Chroot build done"