mirror of
https://github.com/curl/curl.git
synced 2026-08-05 22:26:14 +03: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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue