Skip to content
Snippets Groups Projects
Commit 0faa9e1f authored by Timothy Lebo's avatar Timothy Lebo
Browse files

added absolute path to parent .htaccess

parent 85a5db36
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash #!/usr/bin/env bash
#
#
root_htaccess="root.htaccess" root_htaccess="root.htaccess"
parent_htaccess="../.htaccess" parent_htaccess="../.htaccess"
...@@ -10,9 +12,9 @@ ns=$basedir ...@@ -10,9 +12,9 @@ ns=$basedir
endpoint="http://localhost/sparql?" endpoint="http://localhost/sparql?"
everything_ok="n" everything_ok="n"
if [ -e "$parent_htaccess" ]; then 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." echo "Please remove it to continue the installation."
exit exit
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment