summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-13 09:11:58 +0200
committerErich Eckner <git@eckner.net>2018-09-13 09:11:58 +0200
commite6f5ba6b2baafe8786519452dcfeb87624bec016 (patch)
treeb06c0c51850829965756eca2bf572b849aa034c8 /bin/build-packages
parentb86d5109e0ae3c3d1a75edc93b7e791bedc55e3a (diff)
downloadbuilder-e6f5ba6b2baafe8786519452dcfeb87624bec016.tar.xz
bin/get-assignment: check arguments; cleanup
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 6e0554b..01c7b32 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -813,6 +813,14 @@ while [ "${count}" -ne 0 ] && \
;;
+ 4)
+
+ >&2 echo 'get-assignment told me:'
+ >&2 echo ' 4: wrong number of arguments'
+ exit 5
+
+ ;;
+
*)
>&2 echo "ERROR: Unknown exit code ${err} from 'get-assignment'."