From 92b387f57aa1e795c902ed568092158b527a7b1b Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 13 Apr 2010 22:55:33 +0200 Subject: [PATCH] Use correct directory for c-ares git pull Signed-off-by: Tor Arntsen --- tests/testcurl.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 8877ac54d..d44c3b135 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);