chiark / gitweb /
ubuntu-build-livecd: Require a project name (ubuntu|kubuntu).
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Wed, 9 Mar 2005 17:23:10 +0000 (17:23 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Wed, 9 Mar 2005 17:23:10 +0000 (17:23 +0000)
ubuntu-build-livecd

index 39c4d96..ce74584 100755 (executable)
@@ -1,8 +1,14 @@
 #! /bin/sh
 
+if [ -z "$1" ]; then
+       echo "Usage: ubuntu-build-livecd PROJECT" >&2
+       exit 1
+fi
+PROJECT="$1"
+
 for i in terranova weddell adare king; do
        (echo "$i starting at $(date)"
-        ssh -n buildd@$i.buildd /home/buildd/bin/BuildLiveCD
+        ssh -n buildd@$i.buildd /home/buildd/bin/BuildLiveCD "$PROJECT"
         echo "$i finished at $(date)") &
 done
 wait