remove redundant check in timestamp detection

This commit is contained in:
Yang Tse 2007-02-22 17:34:02 +00:00
parent 2a6a22a3b0
commit 141b3d0c2f
1 changed files with 2 additions and 4 deletions

View File

@ -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, "<include/curl/curlver.h"))) {
while (<F>) {
chomp;
if ($_ =~ /^\#define\s+LIBCURL_TIMESTAMP\s+\"(.+)\".*$/) {