mirror of https://github.com/apache/cloudstack.git
Correcting getopts option-string
Signed-off-by: Chip Childers <chipchilders@apache.org>
This commit is contained in:
parent
9e46429436
commit
9db3039877
|
|
@ -36,16 +36,16 @@ usage(){
|
|||
echo " -h"
|
||||
}
|
||||
|
||||
while getopts v:s:o:b:t:u:c:h opt
|
||||
while getopts v:s:o:b:u:tch opt
|
||||
do
|
||||
case "$opt" in
|
||||
v) version="$OPTARG";;
|
||||
s) sourcedir="$OPTARG";;
|
||||
o) outputdir="$OPTARG";;
|
||||
b) branch="$OPTARG";;
|
||||
t) tag='yes';;
|
||||
t) tag="yes";;
|
||||
u) certid="$OPTARG";;
|
||||
c) committosvn='yes';;
|
||||
c) committosvn="yes";;
|
||||
h) usage
|
||||
exit 0;;
|
||||
/?) # unknown flag
|
||||
|
|
|
|||
Loading…
Reference in New Issue