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:
parent
6432fafa1a
commit
92b387f57a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user