summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-04-18 09:03:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-04-18 09:03:12 +0200
commit82ecc85d9ed0fc05931fb6d6893eda567a3c443f (patch)
tree5c98f1585d22ca7f3ee883b7b5c93b30ad10aad4 /curl-config.in
parent84f809e7a872e189bf4105b6e5d175edf6cf19a1 (diff)
downloadcurl-82ecc85d9ed0fc05931fb6d6893eda567a3c443f.tar.gz
curl-config: fix --version
curl-config --version didn't output the correct version string (bug introduced in commit 0355e33b5f7b234cf3), and unfortunately the test case 1022 that was supposed to check for this was broken. This change fixes the test to detect this problem and it fixes the output. Bug: http://curl.haxx.se/bug/view.cgi?id=3288727
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/curl-config.in b/curl-config.in
index 27b9f7ffe..023280303 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 2001 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 2001 - 2011, 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
@@ -94,7 +94,7 @@ while test $# -gt 0; do
;;
--version)
- echo libcurl @VERSION@
+ echo libcurl @CURLVERSION@
exit 0
;;