From 5ddfef7eb77a0fcbb56a149296c5b39b7fdc0ea6 Mon Sep 17 00:00:00 2001 From: Paul Baumgart Date: Wed, 13 Jan 2010 00:45:40 -0800 Subject: [PATCH] Convert relative paths to absolute when specifying an install_directory for narwhal. --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 7a19b51a2..df2c06bb9 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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