Convert relative paths to absolute when specifying an install_directory for narwhal.

This commit is contained in:
Paul Baumgart authored and Francisco Ryan Tolmasky I committed 2010-01-13 00:57:44 -08:00
1 parent 81d784b5dc
commit 5ddfef7eb7
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ if [ "$install_narwhal" ]; then
echo "To use the default location, \"$install_directory\", just hit enter/return, or enter another path:"
read input
if [ "$input" ]; then
install_directory="$input"
install_directory="`cd \`dirname $input\`; pwd`/`basename $input`"
fi
if [ "$git_clone" ]; then