From 6285eb66348a535b2116dd557f8189218b8d913b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 24 May 2017 10:43:33 +0200 Subject: bin/slave-build-connect: prepare for more sophisticated differentiation between build slaves --- bin/slave-build-connect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/slave-build-connect b/bin/slave-build-connect index 555b694..c024386 100755 --- a/bin/slave-build-connect +++ b/bin/slave-build-connect @@ -4,7 +4,7 @@ if [ "${SSH_ORIGINAL_COMMAND%% *}" == "get-assignment" ] || \ [ "${SSH_ORIGINAL_COMMAND%% *}" == "return-assignment" ]; then - /bin/bash -c "${base_dir}/bin/${SSH_ORIGINAL_COMMAND}" + slave="$1" /bin/bash -c "${base_dir}/bin/${SSH_ORIGINAL_COMMAND}" else >&2 echo "Invalid command: '${SSH_ORIGINAL_COMMAND%% *}'" exit 1 -- cgit v1.2.3-70-g09d2