diff options
author | Erich Eckner <git@eckner.net> | 2017-04-23 17:02:43 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-04-23 17:02:43 +0200 |
commit | 502c397de443a82bf9231efbb0c6f583f5326dc3 (patch) | |
tree | 77ec15a99be6039b1ba1b98c7f99d791f488f1c6 /bin/slave-build-connect | |
parent | 61512d1f05d0c6e98e0f9114bd099ba29495b26c (diff) | |
download | builder-502c397de443a82bf9231efbb0c6f583f5326dc3.tar.xz |
bin/build-packages started
Diffstat (limited to 'bin/slave-build-connect')
-rwxr-xr-x | bin/slave-build-connect | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/slave-build-connect b/bin/slave-build-connect new file mode 100755 index 0000000..4fff765 --- /dev/null +++ b/bin/slave-build-connect @@ -0,0 +1,9 @@ +#!/bin/bash + +. "${0%/*}/../conf/default.conf" + +if [ "${SSH_ORIGINAL_COMMAND% *}" == "get-assignment" ]; then + /bin/bash -c "${base_dir}/bin/${SSH_ORIGINAL_COMMAND}" "$@" +else + >&2 echo "Invalid command: ${SSH_ORIGINAL_COMMAND} $@" +fi |