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 7495d6d5f2
commit d6ee2de6ce

View File

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