1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update quicketc.sh

This commit is contained in:
John-Paul Bader
2023-12-12 12:01:45 +01:00
committed by GitHub
parent b8457dcd95
commit 89ed42a12e

View File

@ -20,8 +20,10 @@ while getopts j:t:h opt; do
esac done
shift $((OPTIND - 1))
# Check if TARBALL arg was provided
[ -z "$TARBALL" ] && usage
# Go through list of Jail from expanded glob pattern and build internal list
NUMBER_OF_JAILS=0
NUMBER_OF_JAIL_ARGS=$#
JAILS=""
@ -33,10 +35,6 @@ do
shift
done
echo $NUMBER_OF_JAIL_ARGS
echo $JAILS
# Build Tarball if specified file does not yet exist
if [ -f $TARBALL ]
then