wok-4.x rev 3605
tazdev: User $USER to push on mirror
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jun 28 23:09:06 2009 +0200 (2009-06-28) |
parents | 90ba3f41867b |
children | 3ef0eab3de81 |
files | slitaz-dev-tools/stuff/tazdev |
line diff
1.1 --- a/slitaz-dev-tools/stuff/tazdev Sun Jun 28 23:02:43 2009 +0200 1.2 +++ b/slitaz-dev-tools/stuff/tazdev Sun Jun 28 23:09:06 2009 +0200 1.3 @@ -81,9 +81,9 @@ 1.4 if [ -n "$2" ]; then 1.5 USER=$2 1.6 else 1.7 - echo -e "\nPlease specify a user.\n" && exit 0 1.8 + USER=$USER 1.9 fi 1.10 - if [ "$3" = "stable" ]; then 1.11 + if [ "$2" = "stable" ] || [ "$3" = "stable" ]; then 1.12 REMOTE_DIR=$MIRROR_DIR/stable/ 1.13 LOCAL_DIR=$STABLE/packages/ 1.14 else