summaryrefslogtreecommitdiff
path: root/bin/slave-build-connect
blob: 4fff765c92995c931ac1898e2c6d8da1a6725faa (plain)
1
2
3
4
5
6
7
8
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