# HG changeset patch # User Christophe Lincoln # Date 1332019846 -3600 # Node ID bc3591cd6e77d96eb7b77a02f9480ec2978b5bac # Parent 0f298b3883139118b21bf2e27261dd8b1b5139da cookiso: fix iso name for push_iso diff -r 0f298b388313 -r bc3591cd6e77 cookiso --- a/cookiso Sat Mar 17 22:23:01 2012 +0100 +++ b/cookiso Sat Mar 17 22:30:46 2012 +0100 @@ -142,14 +142,14 @@ # Push an ISO to a server. push_iso() { echo "Pushing to host: ${SSH_HOST}" - if echo $flavor | fgrep core-4in1; then - file=slitaz-$string - else - file=slitaz-$string-$flavor - fi export DROPBEAR_PASSWORD=none for flavor in $flavors do + if echo $flavor | fgrep core-4in1; then + file=slitaz-$string + else + file=slitaz-$string-$flavor + fi rsync $BWLIMIT -vtP -e "$SSH_CMD" $iso/$file.* \ ${SSH_HOST}:$SSH_ISO/$string 2>&1 | tee $synclog done