wok rev 3731
tazdev: fix get_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 22 21:54:45 2009 +0200 (2009-07-22) |
parents | 5ff108c05d8b |
children | f06174eec73a |
files | slitaz-dev-tools/stuff/tazdev |
line diff
1.1 --- a/slitaz-dev-tools/stuff/tazdev Wed Jul 22 13:27:26 2009 +0000 1.2 +++ b/slitaz-dev-tools/stuff/tazdev Wed Jul 22 21:54:45 2009 +0200 1.3 @@ -182,7 +182,7 @@ 1.4 # file and so we can also modify receipt directly without affecting 1.5 # the Hg wok. 1.6 check_root 1.7 - get_version 1.8 + get_version $@ 1.9 echo "" 1.10 echo "Hg wok : $HG_WOK" 1.11 echo "Build wok : $BUILD_WOK" 1.12 @@ -201,7 +201,7 @@ 1.13 # Chroot into a build env. Default to cooking configured in 1.14 # tazdev.conf 1.15 check_root 1.16 - get_version 1.17 + get_version $@ 1.18 mount_chroot 1.19 echo -e "\nChrooting in $ROOTFS...\n" 1.20 chroot $ROOTFS /bin/sh --login 1.21 @@ -209,7 +209,7 @@ 1.22 echo -e "Exiting $ROOTFS chroot environment...\n" ;; 1.23 gen-chroot) 1.24 check_root 1.25 - get_version 1.26 + get_version $@ 1.27 # Dont break another env. 1.28 if [ -d $ROOTFS/bin ]; then 1.29 echo -e "\nA chroot environment already exists in : $ROOTFS\n"