From: Yang Tse Date: Thu, 22 Feb 2007 17:34:02 +0000 (+0000) Subject: remove redundant check in timestamp detection X-Git-Tag: curl-7_16_2~247 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=141b3d0c2f80af0edf782736d6ff82e51c049a08;p=thirdparty%2Fcurl.git remove redundant check in timestamp detection --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 2dc17cad64..a041f568b9 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -401,10 +401,8 @@ if ($CVS) { } # Set timestamp to the one in curlver.h if this isn't a CVS test build. -if ((-f "$CURLDIR/include/curl/curlver.h") && - (grepfile("define LIBCURL_TIMESTAMP", - "$CURLDIR/include/curl/curlver.h")) && - (open(F, "<$CURLDIR/include/curl/curlver.h"))) { +if ((-f "include/curl/curlver.h") && + (open(F, ") { chomp; if ($_ =~ /^\#define\s+LIBCURL_TIMESTAMP\s+\"(.+)\".*$/) {