Commit 92b387f5 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

Use correct directory for c-ares git pull


Signed-off-by: default avatarTor Arntsen <tor@spacetec.no>
parent 6432fafa
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -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);