curl-config: parentheses fix
authorDaniel Stenberg <daniel@haxx.se>
Tue, 7 Aug 2012 12:13:09 +0000 (14:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 7 Aug 2012 12:13:09 +0000 (14:13 +0200)
Braces, not parentheses, should be used for shell variable names.

Bug: http://curl.haxx.se/bug/view.cgi?id=3551460
Reported by: Edward Sheldrake

curl-config.in

index a3ca8b5..731761c 100644 (file)
@@ -135,9 +135,9 @@ while test $# -gt 0; do
           CPPFLAG_CURL_STATICLIB=""
         fi
                if test "X@includedir@" = "X/usr/include"; then
-          echo "$(CPPFLAG_CURL_STATICLIB)"
+          echo "$CPPFLAG_CURL_STATICLIB"
         else
-          echo "$(CPPFLAG_CURL_STATICLIB)-I@includedir@"
+          echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
         fi
                ;;