mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-04 05:31:46 +00:00
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:
parent
f91242fe39
commit
22fe641721
@ -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;;
|
||||
|
Loading…
Reference in New Issue
Block a user