summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_node_wrapper.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh
index 195e50eb..f111a49a 100755
--- a/bin/reproducible_node_wrapper.sh
+++ b/bin/reproducible_node_wrapper.sh
@@ -59,12 +59,18 @@ info "remote_host called with $*"
allowed_cmds=()
-if [ "$*" = "reproducible_setup_pbuilder_testing_armhf_bpi0" ]; then exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
-elif [ "$*" = "reproducible_maintenance_armhf_bpi0" ]; then exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_armhf_bpi0" ]; then exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_pbuilder_testing_armhf_cbxi4pro0" ]; then exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
-elif [ "$*" = "reproducible_maintenance_armhf_cbxi4pro0" ]; then exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_armhf_cbxi4pro0" ]; then exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed";
+if [ "$*" = "reproducible_setup_pbuilder_testing_armhf_bpi0" ] ; then
+ exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
+elif [ "$*" = "reproducible_maintenance_armhf_bpi0" ] ; then
+ exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_armhf_bpi0" ] ; then
+ exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_pbuilder_testing_armhf_cbxi4pro0" ] ; then
+ exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
+elif [ "$*" = "reproducible_maintenance_armhf_cbxi4pro0" ] ; then
+ exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_armhf_cbxi4pro0" ] ; then
+ exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed";
fi
croak "Command '$*' not found in allowed commands."