more descriptive name for starting dir

This commit is contained in:
George Danchev 2011-06-23 16:25:15 +00:00
parent 77ca0e9ed9
commit 187ac2295b

View File

@ -2,7 +2,8 @@
set -e
START_DIR=`pwd`
START_DIR_DONT_CHANGE=`pwd`
# required config items
XOR=""
DIR=""
@ -149,7 +150,7 @@ esac
if [ ${CLEAN} -eq 1 ]; then
# safety net, just in case -> we want to be in the starting
# directory before removing whatever self-generated stuff
cd "${START_DIR}" || exit 1
cd "${START_DIR_DONT_CHANGE}" || exit 1
rm -f ${RES}
printf "$0: removed %s\n" ${RES}
else