more descriptive name for starting dir
This commit is contained in:
parent
77ca0e9ed9
commit
187ac2295b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user