re-add /path/to/xorriso [-keep]

(forgotten in the heat of reconstruction)
This commit is contained in:
George Danchev 2011-07-03 16:55:15 +00:00
parent 8d13cf71e6
commit a56e92b8c5
1 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,7 @@ Usage:
${SELF} -rc [-keep]
# without using a config file
${SELF} /path/to/xorriso
${SELF} /path/to/xorriso [-keep]
# cleanup test generated data directory and exit
${SELF} -cleanup
@ -82,8 +82,12 @@ elif [ "${1}" == "-rc" -a ! "${2}" ]; then
echo -e "\n${SELF}: Config file ${CONFFILE} not found.\n" && exit 4
fi
# cmdline option
elif [ -x "${1}" -a "${2}" == "-keep" ]; then
RELENG_XORRISO="${1}"
KEEP=1
elif [ -x "${1}" ]; then
RELENG_XORRISO="${1}"
KEEP=0
# the rest
else
print_help && exit 5