X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Fdsd-ssh;h=d5df5aa67279548c4fedf344e0f894dcf99521df;hp=94a95827f2c0cfccbfd6a83708f17e56c885f1c6;hb=657404118ad3d99c849bc3d8803f9440ef4ec9e6;hpb=16570fa6d2c817138272294ac143db1252376ba8 diff --git a/tests/dsd-ssh b/tests/dsd-ssh index 94a95827..d5df5aa6 100755 --- a/tests/dsd-ssh +++ b/tests/dsd-ssh @@ -12,7 +12,7 @@ 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 -perl -I $DGIT_TEST_INTREE \ +${DGIT_TEST_INTREE+perl -I}$DGIT_TEST_INTREE \ ${DGIT_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp : '))))))))))))))))))))))))))))))))))))))))'