do not set all these variables unless building cores

This commit is contained in:
radius 2015-10-21 17:59:19 -05:00
parent a071920a69
commit 1c7547f495

View File

@ -61,6 +61,9 @@ if [ "${CORE_JOB}" == "YES" ]; then
echo $RESULT
}
# set a few extra variables with libretro-config.sh
. $WORK/libretro-config.sh
SCRIPT=$(read_link "$0")
echo "SCRIPT: $SCRIPT"
BASE_DIR=$(dirname "$SCRIPT")
@ -164,9 +167,6 @@ if [ "${CORE_JOB}" == "YES" ]; then
}
fi
# set a few extra variables with libretro-config.sh
. $WORK/libretro-config.sh
# set jobs to 2 if not specified
if [ -z "$JOBS" ]; then
JOBS=2