aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-01-07 08:30:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-01-09 22:57:33 +0100
commit062eaa63b57fb30d893ee718015eae277ec5e300 (patch)
treea03ec22e66d50878499e3d0cdaf285290d5eafd5 /scripts
parentfb723fd9d1d2c1acb46e7980b4b35a5fb4d7c355 (diff)
scripts/delta: adapt to new public header layout
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/delta6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/delta b/scripts/delta
index 81de75338..bffa8e5c3 100755
--- a/scripts/delta
+++ b/scripts/delta
@@ -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: