mirror of
https://git.dpkg.org/git/dpkg/dupload.git
synced 2025-04-09 13:44:37 +00:00
19 lines
248 B
Bash
Executable File
19 lines
248 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
printf "\nmock-ssh %s\n" "$*"
|
|
|
|
while [ $# -gt 0 ]; do
|
|
arg="$1"
|
|
shift
|
|
case "$arg" in
|
|
example.org)
|
|
# We pass the commands we need to execute just after the hostname.
|
|
eval $@
|
|
|
|
exit 0
|
|
;;
|
|
esac
|
|
done
|