chiark / gitweb /
When cleaning up after failed clone, stat the to-be-cleaned-up directory before runni...
[dgit.git] / infra / ssh-wrap
index 48a9e43..deccc38 100755 (executable)
@@ -1,7 +1,10 @@
 #!/bin/sh
 set -e
+umask 002
+
 srvdir=/srv/dgit.debian.org
 dispatchdir=$srvdir/dispatch-dir
 dgitlive=$srvdir/dgit-live
+
 PERLLIB="$dgitlive${PERLLIB+:}${PERLLIB}" \
 exec $dgitlive/infra/dgit-ssh-dispatch $dispatchdir