summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-30 15:46:58 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-30 15:46:58 -0400
commit8d586d5c9968778c934996aa59626635fc20b99f (patch)
tree12d90eca8efc96eb8319b3d2902fb84dc3e73770 /bin/reproducible_lede.sh
parentb8b43df488c513bb550177e571a7119bbf24cfd3 (diff)
downloadjenkins.debian.net-8d586d5c9968778c934996aa59626635fc20b99f.tar.xz
reproducible/openwrt|lede: fixup node_wrapper usage
Diffstat (limited to 'bin/reproducible_lede.sh')
-rwxr-xr-xbin/reproducible_lede.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 534056c4..b7e7a9f1 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2014-2015 Holger Levsen <holger@layer-acht.org>
+# Copyright 2014-2016 Holger Levsen <holger@layer-acht.org>
# © 2015 Reiner Herrmann <reiner@reiner-h.de>
# 2016 Alexander Couzens <lynxis@fe80.eu>
# released under the GPLv=2
@@ -20,9 +20,8 @@ set -e
# * it's called from the reproducible_wrapper when running on the master
# * it's called from reproducible_opewnrt_common when doing remote builds
case $1 in
- slave)
- # execute the slave
- shift
+ 1|2)
+ # execute build 1 or 2
$@
exit $?
;;