Detect missing AUTOBUILD_VARIABLES_FILE environment variable and early fail configure (or later it will fail more cryptic due to missing LL_BUILD variable).
parent
446eaa8375
commit
58bfdbefc8
|
|
@ -299,6 +299,21 @@ if [ $PLATFORM == "linux32" -o $PLATFORM == "linux64" -o $PLATFORM == "darwin" ]
|
|||
fi
|
||||
echo -e " Logging to $LOG"
|
||||
|
||||
if [ $PLATFORM == "win32" ]
|
||||
then
|
||||
if [ -z "${AUTOBUILD_VSVER}" ]
|
||||
then
|
||||
echo "AUTOBUILD_VSVER not set, this can lead to autobuild picking a higher VS version than desired."
|
||||
echo "If you see this happen you should set the variable to eg 120 for Visual Studio 2013"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$AUTOBUILD_VARIABLES_FILE" ]
|
||||
then
|
||||
echo "AUTOBUILD_VARIABLES_FILE not set."
|
||||
echo "In order to run autobuild it needs to be set to point to a correct variables file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $PLATFORM == "win32" ] ; then
|
||||
FIND=/usr/bin/find
|
||||
|
|
|
|||
Loading…
Reference in New Issue