summaryrefslogtreecommitdiffstats
path: root/newapkbuild.in
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-10-19 10:42:11 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-10-19 10:42:11 +0200
commit22fe641721a8f40d603d52645890e4f9eb8ef8a6 (patch)
tree11ce698e471f1c404ee87ddb5fc94cca2efd7071 /newapkbuild.in
parentf91242fe3910d4968611d58f4826ec349e012782 (diff)
downloadabuild-22fe641721a8f40d603d52645890e4f9eb8ef8a6.tar.bz2
abuild-22fe641721a8f40d603d52645890e4f9eb8ef8a6.tar.xz
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.
Diffstat (limited to 'newapkbuild.in')
-rw-r--r--newapkbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index b1a3d50..5c0abf9 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -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;;