From a27d8cc42a10b6792ebdc653d2d1abf996d26e48 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 30 Jul 2016 22:15:41 +0200 Subject: reproducible/openwrt|lede: rename argument from slave -> node To conform to the naming on other scripts Signed-off-by: Holger Levsen --- bin/reproducible_lede.sh | 3 +-- bin/reproducible_openwrt.sh | 3 +-- bin/reproducible_openwrt_common.sh | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2