summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-24 10:43:33 +0200
committerErich Eckner <git@eckner.net>2017-05-24 10:43:33 +0200
commit6285eb66348a535b2116dd557f8189218b8d913b (patch)
treee514a95c68247409c9a2fbf4e8b009f6e09f39a0 /bin
parent6930e6021e6e84d7165fd13ec37255fa9dc3c00b (diff)
downloadbuilder-6285eb66348a535b2116dd557f8189218b8d913b.tar.xz
bin/slave-build-connect: prepare for more sophisticated differentiation between build slaves
Diffstat (limited to 'bin')
-rwxr-xr-xbin/slave-build-connect2
1 files changed, 1 insertions, 1 deletions
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