From 22fe641721a8f40d603d52645890e4f9eb8ef8a6 Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Thu, 19 Oct 2017 10:42:11 +0200 Subject: 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. --- newapkbuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newapkbuild.in') 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;; -- cgit v1.2.3-60-g2f50