wok rev 2277
mirror-tools: fix chroot path for mkpkgiso
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 19 10:15:15 2009 +0000 (2009-02-19) |
parents | 9356d6530243 |
children | c92b90a14744 |
files | mirror-tools/stuff/usr/bin/mkpkgiso |
line diff
1.1 --- a/mirror-tools/stuff/usr/bin/mkpkgiso Wed Feb 18 17:23:50 2009 +0000 1.2 +++ b/mirror-tools/stuff/usr/bin/mkpkgiso Thu Feb 19 10:15:15 2009 +0000 1.3 @@ -118,8 +118,8 @@ 1.4 *\ --website\ *) 1.5 if [ -d /slitaz/home/slitaz/hg/website ]; then 1.6 echo -n "Adding web site" 1.7 - chroot /slitaz hg --repository /home/slitaz/hg/website pull >/dev/null 1.8 - chroot /slitaz hg --repository /home/slitaz/hg/website update >/dev/null 1.9 + /usr/sbin/chroot /slitaz hg --repository /home/slitaz/hg/website pull >/dev/null 1.10 + /usr/sbin/chroot /slitaz hg --repository /home/slitaz/hg/website update >/dev/null 1.11 mkdir $TEMP_DIR/website 1.12 cp -a /slitaz/home/slitaz/hg/website/* $TEMP_DIR/website 1.13 cat >>$TEMP_DIR/install.sh<<EOF