Skip to content
Snippets Groups Projects
Commit bcaf9bac authored by Marvin Scholz's avatar Marvin Scholz
Browse files

compile-libvlc: Fix comparison

Using test with == is undefined in sh, better use = which works
fine in all cases.
parent 7dfcf80b
No related branches found
No related tags found
1 merge request!291More buildscript cleanup and features
Pipeline #10401 passed with stage
in 26 minutes and 58 seconds
......@@ -49,7 +49,7 @@ if [ -z "$MAKEFLAGS" ]; then
MAKEFLAGS=
if which nproc >/dev/null; then
MAKEFLAGS=-j$(nproc)
elif [ "$UNAMES" == "Darwin" ] && which sysctl >/dev/null; then
elif [ "$UNAMES" = "Darwin" ] && which sysctl >/dev/null; then
MAKEFLAGS=-j$(sysctl -n machdep.cpu.thread_count)
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment