summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-07-30 22:15:41 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-02 16:24:24 +0200
commita27d8cc42a10b6792ebdc653d2d1abf996d26e48 (patch)
tree069c39758d92956417f5d1dcf35da3dcc1c96e39 /bin
parent8b2041c98b2a9baab95174dc4b34711e8817d2c7 (diff)
downloadjenkins.debian.net-a27d8cc42a10b6792ebdc653d2d1abf996d26e48.tar.xz
reproducible/openwrt|lede: rename argument from slave -> node
To conform to the naming on other scripts Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_lede.sh3
-rwxr-xr-xbin/reproducible_openwrt.sh3
-rw-r--r--bin/reproducible_openwrt_common.sh2
3 files changed, 3 insertions, 5 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 534056c4..7622c70b 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -20,8 +20,7 @@ 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
+ node)
shift
$@
exit $?
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index d3435900..e6b0d7f7 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -20,8 +20,7 @@ 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
+ node)
shift
$@
exit $?
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index b3f4e314..d3a81b6a 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -258,7 +258,7 @@ build_two_times() {
TMPDIR_B1=$(ssh $HOST_B1 mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-lede-build-XXXXXXXX)
# TODO check tmpdir exist
- SCRIPT="$0 slave"
+ SCRIPT="$0 node"
ssh $HOST_B1 $SCRIPT openwrt_build $TYPE $RUN $TARGET $CONFIG $TMPDIR_B1
# rsync back