more descriptive name for starting dir

This commit is contained in:
George Danchev 2011-06-23 16:25:15 +00:00
parent 92f0f89a40
commit c5a10bda04

View File

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