completed print_size script

This commit is contained in:
George Danchev 2011-06-29 17:44:03 +00:00
parent bc0a02e39a
commit 426c1c9ead

View File

@ -13,7 +13,7 @@ RELENG_MKISOFS=/usr/bin/mkisofs
CONFFILE=${HOME}/.libburnia-releng/${SELF}.conf
GEN_DATA_DIR=releng_generated_data/${SELF}
UPPER=32
UPPER=40
KEEP=0
#####################################################################
@ -58,9 +58,9 @@ if [ "${1}" == "-rc" ]; then
fi
if [ "${2}" == "-keep" ]; then KEEP=1; fi
# command line args
elif [ "${2}" ]; then
RELENG_XORRISO="${2}"
if [ "${3}" == "-keep" ]; then KEEP=1; fi
elif [ "${1}" ]; then
RELENG_XORRISO="${1}"
if [ "${2}" == "-keep" ]; then KEEP=1; fi
# the rest
else
print_help && exit 30
@ -132,6 +132,4 @@ if [ ${KEEP} -eq 0 ]; then
rm -rf ${GEN_DATA_DIR}
fi
printf "\n${SELF}: FAIL: SCRIPT NOT COMPLETED YET\n"
exit 31
exit 0