curl-config: fix version output
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Apr 2011 14:41:34 +0000 (16:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Apr 2011 14:41:34 +0000 (16:41 +0200)
do the s/VERSION/CURLVERSION replacement for the human redable output
for --checkfor

Reported by: Ryan Schmidt

curl-config.in

index 0232803..150004d 100644 (file)
@@ -113,7 +113,7 @@ while test $# -gt 0; do
          # silent success
          exit 0
        else
-         echo "requested version $checkfor is newer than existing @VERSION@"
+         echo "requested version $checkfor is newer than existing @CURLVERSION@"
          exit 1
        fi
        ;;