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

reworded #1; added automated / handing

parent 8726f4a2
No related branches found
No related tags found
No related merge requests found
......@@ -26,12 +26,13 @@ while [ "$everything_ok" != "y" ]; do
echo
echo "LODSPeaKr needs to know three (3) URIs to minimally configure itself:"
echo
echo "(1/3) At what URL will `pwd` be available? Include a file '/' (e.g. http://localhost/`basename $back_one`/`basename \`pwd\``/)"
echo "(1/3) At what URL will `pwd` be available? (e.g. http://localhost/`basename $back_one`/`basename \`pwd\``/)"
echo -n "(default '$basedir'): "
read -u 1 aux_basedir
echo
if [ "$aux_basedir" != "" ]; then
basedir=$aux_basedir
aux_basedir="`echo $aux_basedir | sed 's/\/$//'`/" # remove any ending slash and append one.
if [ "$aux_basedir" != "/" ]; then
basedir=$aux_basedir
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