build: Remove spaces from variable-printing rules

This simplifies parsing when using these rules from scripts.
pull/826/head
Carl Dong 4 years ago
parent 0102f80b51
commit 84912d4b24

@ -119,7 +119,7 @@ fi
for host in $HOSTS; do
case "$host" in
*darwin*)
OSX_SDK="$(make -C "${PWD}/depends" --no-print-directory HOST="$host" print-OSX_SDK | sed 's@^[^=]\+=[[:space:]]\+@@g')"
OSX_SDK="$(make -C "${PWD}/depends" --no-print-directory HOST="$host" print-OSX_SDK | sed 's@^[^=]\+=@@g')"
if [ -e "$OSX_SDK" ]; then
echo "Found macOS SDK at '${OSX_SDK}', using..."
else

Loading…
Cancel
Save