Rework argument passing in analysis plugin

This commit is contained in:
vit9696 2018-11-12 12:05:44 +03:00
parent 3e1afd1e00
commit 76ff756598
3 changed files with 9 additions and 3 deletions

View file

@ -3,6 +3,12 @@
UTARGET=$(uname)
BINSUFFIX=""
if [ "$1" = "--configure" ]; then
export NOBUILD=1
elif [ "$1" = "--build" ]; then
export PRECONFIGURED=1
fi
if [ "$UTARGET" = "Darwin" ]; then
export UPLATFORM="mac"
elif [ "$UTARGET" = "Linux" ]; then