Commit 22fe6417 authored by Sören Tempel's avatar Sören Tempel

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.
parent f91242fe
......@@ -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;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment