From: Guenter Knauf Date: Tue, 13 Apr 2010 20:55:33 +0000 (+0200) Subject: Use correct directory for c-ares git pull X-Git-Tag: curl-7_20_1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92b387f57aa1e795c902ed568092158b527a7b1b;p=thirdparty%2Fcurl.git Use correct directory for c-ares git pull Signed-off-by: Tor Arntsen --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 8877ac54df..d44c3b1357 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -394,8 +394,8 @@ if ($git) { chomp ($_); logit " $_"; } - if (-d "$CURLDIR/ares/.git") { - chdir "$CURLDIR/ares"; + if (-d "ares/.git") { + chdir "ares"; logit "run git pull in ares"; system("git pull 2>&1"); $gitstat += $?; @@ -407,7 +407,7 @@ if ($git) { chomp ($_); logit " $_"; } - chdir $CURLDIR; + chdir "$pwd/$CURLDIR"; } # Set timestamp to the UTC the git update took place. $timestamp = scalar(gmtime)." UTC" if (!$gitstat);