tiny change to comment
authorJameson Graef Rollins <jrollins@phys.columbia.edu>
Sat, 21 Jun 2008 16:26:58 +0000 (12:26 -0400)
committerJameson Graef Rollins <jrollins@phys.columbia.edu>
Sat, 21 Jun 2008 16:26:58 +0000 (12:26 -0400)
src/common

index 7df6908b348bc88f1f805de47f426179017cd667..c90fdd09c0d861e07328e41748fc3912994fe2e0 100644 (file)
@@ -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"