diff options
author | Guenter Knauf <lists@gknw.net> | 2010-04-13 22:55:33 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2010-04-13 22:55:33 +0200 |
commit | 92b387f57aa1e795c902ed568092158b527a7b1b (patch) | |
tree | 71a127e9c2b9297ef4d082c8d193dc60d6f90112 /tests/testcurl.pl | |
parent | 6432fafa1a5d75ce7fc3dee9602c0890af538ebe (diff) | |
download | curl-92b387f57aa1e795c902ed568092158b527a7b1b.tar.gz |
Use correct directory for c-ares git pull
Signed-off-by: Tor Arntsen <tor@spacetec.no>
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-x | tests/testcurl.pl | 6 |
1 files 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); |