Commit 41cd36b8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Avoid doing chdir .., as it breaks the ability to use symlinks properly.

chdir to absolute directory names instead. (this flaw exists in the shell
version too)
parent 242be557
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ if ($gnulikebuild) {
}

# change to build dir
chdir "../$build";
chdir "$pwd/$build";

if ($gnulikebuild) {
  # run configure script
@@ -347,7 +347,7 @@ if (grepfile("define USE_ARES", $gnulikebuild ? "lib/config.h" : "lib/config-win
  }

  # cd back to the curl build dir
  chdir "..";
  chdir "$pwd/$build";
}

logit "run make";