]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- dont send empty requests
authorMichal Moskal <michal@moskal.me>
Sat, 14 Jun 2003 15:03:00 +0000 (15:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    client/make-request.sh -> 1.8

client/make-request.sh

index a0f2e4e7e1811081677ca11da3e12ee3edaefeff..7b98da5d163642015d9916ec5b1ce6c65c074f07 100644 (file)
@@ -93,6 +93,15 @@ if [ "$build_mode" = "test" ] ; then
   flags="$flags test-build"
 fi
 
+ok=
+for s in $specs ; do
+  ok=1
+done
+
+if [ "$ok" = "" ] ; then
+  die "no specs passed"
+fi
+
 id=$(uuidgen)
 
 gen_req() {
This page took 0.146383 seconds and 4 git commands to generate.