completed print_size script
This commit is contained in:
parent
43ab782677
commit
611bbf8c5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user