Fix building when $PATH contains spaces

This commit is contained in:
Martin Storsjö committed 2019-11-30 10:37:19 +02:00
1 parent 4a4cc16393
commit ee555b9013
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ fi
PREFIX="$1"
mkdir -p "$PREFIX"
PREFIX="$(cd "$PREFIX" && pwd)"
export PATH=$PREFIX/bin:$PATH
export PATH="$PREFIX/bin:$PATH"
: ${CORES:=$(nproc 2>/dev/null)}
: ${CORES:=$(sysctl -n hw.ncpu 2>/dev/null)}