]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
scripts/delta: adapt to new public header layout
authorDaniel Stenberg <daniel@haxx.se>
Tue, 7 Jan 2020 07:30:59 +0000 (08:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Jan 2020 21:57:33 +0000 (22:57 +0100)
scripts/delta

index 81de753385efab1e162f7f030fe8cbdecced3713..bffa8e5c3a30673e578e6652713a0700312a3659 100755 (executable)
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 2018-2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 2018-2020, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -53,8 +53,8 @@ $bcontribs = `git show $start:docs/THANKS | grep -c '^[^ ]'`;
 $contribs = $acontribs - $bcontribs;
 
 # number of setops:
-$asetopts=`grep "^  CINIT" include/curl/curl.h  | grep -cv OBSOLETE`;
-$bsetopts=`git show $start:include/curl/curl.h | grep "^  CINIT" | grep -cv OBSOLETE`;
+$asetopts=`grep '^  CURLOPT(' include/curl/curl.h  | grep -cv OBSOLETE`;
+$bsetopts=`git show $start:include/curl/curl.h | grep '^  CURLOPT(' | grep -cv OBSOLETE`;
 $nsetopts = $asetopts - $bsetopts;
 
 # Number of command line options: