1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -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 ($_);
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);