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