build-llvm: Fix using a relative PREFIX path
This fixes a regression from
6d31f358d8, which shows up as
"./strip-llvm.sh: 129: cd: can't cd to share" when running
build-all.sh, fixing
https://github.com/mstorsjo/llvm-mingw/issues/509, and the root
issue behind https://github.com/mstorsjo/llvm-mingw/pull/507.
This commit is contained in:
1 parent
0d59f0f827
commit
39f4179af6
1 file changed
+1
-1
+1
-1
@@ -108,7 +108,7 @@ if [ -z "$CHECKOUT_ONLY" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$INSTRUMENTED" ]; then
|
if [ "$INSTRUMENTED" = "OFF" ]; then
|
||||||
mkdir -p "$PREFIX"
|
mkdir -p "$PREFIX"
|
||||||
PREFIX="$(cd "$PREFIX" && pwd)"
|
PREFIX="$(cd "$PREFIX" && pwd)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user