Commit 3c544b6a authored by Lynn Garren's avatar Lynn Garren
Browse files

first attempt at determining where this script resides

parent 97db8072
......@@ -6,6 +6,17 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
configpath=`dirname ${0}`
firstc=`expr ${configpath} : / >/dev/null`
if [ ! ${firstc} ]
then
prefix=${configpath}
else
cd ${calldir}/${configpath}; newpath=`pwd`
prefix=${newpath}
fi
echo "prefix is ${configpath}"
usage()
{
cat <<EOF
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment