chiark
/
gitweb
/
~ianmdlvl
/
dsa-metapackages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d4d60
)
fix script
author
Martin Zobel-Helas
<zobel@debian.org>
Sat, 15 Feb 2014 10:34:34 +0000
(11:34 +0100)
committer
Martin Zobel-Helas
<zobel@debian.org>
Sat, 15 Feb 2014 10:34:34 +0000
(11:34 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
remoteuser-hack
patch
|
blob
|
history
diff --git
a/remoteuser-hack
b/remoteuser-hack
index 710389025af6d4190cfdb0ec12c8821bb5ae5f59..f53c11a4c1dfe72ce441c8675cde88f6c8abbf49 100755
(executable)
--- a/
remoteuser-hack
+++ b/
remoteuser-hack
@@
-1,8
+1,9
@@
#!/bin/bash
-if [
-e $DACS_USERNAME
]; then
- REMOTE_USER=
$DACS_USERNAME
+if [
! -z "$DACS_USERNAME"
]; then
+ REMOTE_USER=
"$DACS_USERNAME"
export REMOTE_USER
fi
-$0.real "$@"
+exec $0.real "$@"
+