From 0faa9e1fb5d4c0f7ad825f84d912bff15da8547f Mon Sep 17 00:00:00 2001 From: Timothy Lebo <timrdf@gmail.com> Date: Sat, 14 Jan 2012 22:12:50 -0500 Subject: [PATCH] added absolute path to parent .htaccess --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c96abaa1..02124cc0 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# +# root_htaccess="root.htaccess" parent_htaccess="../.htaccess" @@ -10,9 +12,9 @@ ns=$basedir endpoint="http://localhost/sparql?" everything_ok="n" - if [ -e "$parent_htaccess" ]; then - echo ".htaccess file found in parent directory." + echo + echo "`dirname \`pwd\``/.htaccess already exists." echo "Please remove it to continue the installation." exit fi -- GitLab