1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Use correct directory for c-ares git pull

Signed-off-by: Tor Arntsen <tor@spacetec.no>
This commit is contained in:
Guenter Knauf 2010-04-13 22:55:33 +02:00
parent 6432fafa1a
commit 92b387f57a

View File

@ -394,8 +394,8 @@ if ($git) {
chomp ($_); chomp ($_);
logit " $_"; logit " $_";
} }
if (-d "$CURLDIR/ares/.git") { if (-d "ares/.git") {
chdir "$CURLDIR/ares"; chdir "ares";
logit "run git pull in ares"; logit "run git pull in ares";
system("git pull 2>&1"); system("git pull 2>&1");
$gitstat += $?; $gitstat += $?;
@ -407,7 +407,7 @@ if ($git) {
chomp ($_); chomp ($_);
logit " $_"; logit " $_";
} }
chdir $CURLDIR; chdir "$pwd/$CURLDIR";
} }
# Set timestamp to the UTC the git update took place. # Set timestamp to the UTC the git update took place.
$timestamp = scalar(gmtime)." UTC" if (!$gitstat); $timestamp = scalar(gmtime)." UTC" if (!$gitstat);