Skip to content

Commit

Permalink
Fix basedir absolutization
Browse files Browse the repository at this point in the history
How do I always get % and # wrong?

Closes GH-1.
  • Loading branch information
akheron committed Apr 10, 2011
1 parent 2b9b8bc commit b24e465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multipy
Expand Up @@ -389,7 +389,7 @@ while getopts "b:kn" opt; do
done

# Make basedir absolute
[ "${basedir%/}" = "$basedir" ] && basedir=$(pwd)/$basedir
[ "${basedir#/}" = "$basedir" ] && basedir=$(pwd)/$basedir

pythondir=$basedir/pythons
sourcedir=$basedir/sources
Expand Down

0 comments on commit b24e465

Please sign in to comment.