From 83b3a3df745eadab1327b20738bf7f3090d3fb66 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 29 Jun 2011 19:23:49 +0200 Subject: [PATCH] release.sh: add /usr/pkg/bin to $PATH for clang --- tools/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.44.0