Skip to content

Commit

Permalink
--no-symlinks があるので normpath だった。。
Browse files Browse the repository at this point in the history
  • Loading branch information
pasberth committed Jul 14, 2013
1 parent 75c3456 commit 4071a5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/pathf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# UGLY HACKS
function _realpath () {
python << EOF
from os.path import realpath
print realpath("$1")
from os.path import normpath
print normpath("$1")
EOF
}

Expand All @@ -19,6 +19,7 @@ else
exit 1
fi


if [ $# -eq 1 ]; then
SCRIPT=$1; shift
BASEPATH=$PWD
Expand Down

0 comments on commit 4071a5b

Please sign in to comment.