projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
736054b
)
tiny change to comment
author
Jameson Graef Rollins
<jrollins@phys.columbia.edu>
Sat, 21 Jun 2008 16:26:58 +0000
(12:26 -0400)
committer
Jameson Graef Rollins
<jrollins@phys.columbia.edu>
Sat, 21 Jun 2008 16:26:58 +0000
(12:26 -0400)
src/common
patch
|
blob
|
history
diff --git
a/src/common
b/src/common
index 7df6908b348bc88f1f805de47f426179017cd667..c90fdd09c0d861e07328e41748fc3912994fe2e0 100644
(file)
--- a/
src/common
+++ b/
src/common
@@
-103,8
+103,9
@@
translate_ssh_variables() {
# get the user's home directory
userHome=$(getent passwd "$uname" | cut -d: -f6)
- # translate
ssh-style path variables
+ # translate
'%u' to user name
path=${path/\%u/"$uname"}
+ # translate '%h' to user home directory
path=${path/\%h/"$userHome"}
echo "$path"