File: dsd-ssh

package info (click to toggle)
dgit 10.7%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,120 kB
  • sloc: perl: 12,313; sh: 5,533; makefile: 306; tcl: 69
file content (18 lines) | stat: -rwxr-xr-x 453 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -e

echo >&2 '(((((((((((((((((((((((((((((((((((((((('
set -x

tmp=$DGIT_TEST_TMP
cd /
userhost="$1"; shift
export SSH_ORIGINAL_COMMAND="$*"

# undoes PERLLIB so that we rely on dgit-ssh-dispatch setting it
# we have to compensate with -I so that dgit-ssh-dispatch finds Dgit.pm
unset PERLLIB
${DGIT_TEST_INTREE+perl -I}$DGIT_TEST_INTREE \
${DGIT_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp

: '))))))))))))))))))))))))))))))))))))))))'