newapkbuild: add command line flag for cmake to getopts

It is documented in the help output but didn't work because getopts(1)
didn't check for that option. I am assuming the person who added cmake
support simply forgot to adjust the getopts line.
This commit is contained in:
Sören Tempel 2017-10-19 10:42:11 +02:00
parent f91242fe39
commit 22fe641721
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ usage() {
__EOF__
}
while getopts "acmd:fhl:n:pyu:s" opt; do
while getopts "acCmd:fhl:n:pyu:s" opt; do
case $opt in
'a') buildtype="autotools";;
'c') cpinitd=1;;