]> Zhao Yanbai Git Server - minix.git/commitdiff
release.sh: add /usr/pkg/bin to $PATH for clang
authorBen Gras <ben@minix3.org>
Wed, 29 Jun 2011 17:23:49 +0000 (19:23 +0200)
committerBen Gras <ben@minix3.org>
Wed, 29 Jun 2011 17:24:50 +0000 (19:24 +0200)
tools/release.sh

index cba55f2dd51ba0fc4f18e63ca91d8efd47f1f506..d280c883980e79d5d31259d0aa94e51bd25b6996 100755 (executable)
@@ -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"