add "g" option to getopts

This commit is contained in:
Jonathan Boyett 2010-12-14 11:06:27 -08:00
parent 131a157272
commit 03ac60902b

View file

@ -51,7 +51,7 @@ XARGSARG="-0"
PATH=/sbin:/usr/sbin:/bin:/usr/bin
while getopts "o:s:d:tnw:f" options; do
while getopts "o:s:d:tnw:fg" options; do
case $options in
o ) OUTFILE=$OPTARG;;
d ) WORKDIR=$OPTARG;;