cleanup is now triggered by -c
This commit is contained in:
parent
b418a57f01
commit
6bce4510d7
@ -20,7 +20,7 @@ CC=g++
|
|||||||
# check data dir
|
# check data dir
|
||||||
if [ -d "${GEN_DATA_DIR}" ]; then
|
if [ -d "${GEN_DATA_DIR}" ]; then
|
||||||
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
||||||
printf "\n${SELF}: use '${SELF} -c1' to remove.\n"
|
printf "\n${SELF}: use '${SELF} -c' to remove.\n"
|
||||||
exit 5
|
exit 5
|
||||||
else
|
else
|
||||||
mkdir "${GEN_DATA_DIR}"
|
mkdir "${GEN_DATA_DIR}"
|
||||||
|
@ -23,7 +23,7 @@ fi
|
|||||||
# check data dir, if any and after checking -x xorriso
|
# check data dir, if any and after checking -x xorriso
|
||||||
if [ -d "${GEN_DATA_DIR}" ]; then
|
if [ -d "${GEN_DATA_DIR}" ]; then
|
||||||
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
||||||
printf "\n${SELF}: use '${SELF} -c1' to remove.\n"
|
printf "\n${SELF}: use '${SELF} -c' to remove.\n"
|
||||||
exit 8
|
exit 8
|
||||||
else
|
else
|
||||||
mkdir "${GEN_DATA_DIR}"
|
mkdir "${GEN_DATA_DIR}"
|
||||||
|
@ -22,7 +22,7 @@ fi
|
|||||||
# check data dir, if any and after checking -x xorriso
|
# check data dir, if any and after checking -x xorriso
|
||||||
if [ -d "${GEN_DATA_DIR}" ]; then
|
if [ -d "${GEN_DATA_DIR}" ]; then
|
||||||
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
||||||
printf "\n${SELF}: use '${SELF} -c1' to remove.\n"
|
printf "\n${SELF}: use '${SELF} -c' to remove.\n"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
mkdir "${GEN_DATA_DIR}"
|
mkdir "${GEN_DATA_DIR}"
|
||||||
|
@ -24,7 +24,7 @@ fi
|
|||||||
# check data dir, if any and after checking -x xorriso
|
# check data dir, if any and after checking -x xorriso
|
||||||
if [ -d "${GEN_DATA_DIR}" ]; then
|
if [ -d "${GEN_DATA_DIR}" ]; then
|
||||||
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
||||||
printf "\n${SELF}: use '${SELF} -c1' to remove.\n"
|
printf "\n${SELF}: use '${SELF} -c' to remove.\n"
|
||||||
exit 8
|
exit 8
|
||||||
else
|
else
|
||||||
mkdir "${GEN_DATA_DIR}"
|
mkdir "${GEN_DATA_DIR}"
|
||||||
|
@ -26,7 +26,7 @@ fi
|
|||||||
# check data dir, if any and after checking -x xorriso
|
# check data dir, if any and after checking -x xorriso
|
||||||
if [ -d "${GEN_DATA_DIR}" ]; then
|
if [ -d "${GEN_DATA_DIR}" ]; then
|
||||||
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}
|
||||||
printf "\n${SELF}: use '${SELF} -c1' to remove.\n"
|
printf "\n${SELF}: use '${SELF} -c' to remove.\n"
|
||||||
exit 8
|
exit 8
|
||||||
else
|
else
|
||||||
mkdir "${GEN_DATA_DIR}"
|
mkdir "${GEN_DATA_DIR}"
|
||||||
|
Loading…
Reference in New Issue
Block a user