mirror of
https://github.com/curl/curl.git
synced 2026-06-06 16:54:15 +03:00
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)
This commit is contained in:
parent
242be55771
commit
41cd36b830
1 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue