quote path variables in whatnow2.sh
[mmh] / uip / whatnow2.sh
index 2040725..59e91b7 100755 (executable)
@@ -73,9 +73,9 @@ get_realpath()
 {
        reldir=`dirname "$1"`
        filename=`basename "$1"`
-       cd $reldir
+       cd "$reldir"
        echo "$PWD/$filename"
-       cd $OLDPWD
+       cd "$OLDPWD"
 }
 
 set_lasteditor()