diff options
Diffstat (limited to 'win32/setup-env')
-rwxr-xr-x | win32/setup-env | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/win32/setup-env b/win32/setup-env index ded1ed79a4..e260418bd8 100755 --- a/win32/setup-env +++ b/win32/setup-env @@ -25,17 +25,22 @@ fi # empty value means 'stable', anything else means 'master' type in Makefile export EVO_BUILD_TYPE=$1 -export BUILD_ROOT_DEPS=$BUILD_ROOT_BASE/deps -if [ "x$EVO_BUILD_TYPE" != "x" -a "x$EVO_BUILD_TYPE" != "xstable" ] ; then +if [ "x$EVO_BUILD_TYPE" == "x" ] ; then + # Build 'master' as default + export EVO_BUILD_SUFFIX="-master" + export EVO_BUILD_TYPE="master" +elif [ "x$EVO_BUILD_TYPE" != "xstable" ] ; then # Build custom builds like from 'master', aka from relative path checkouts export EVO_BUILD_SUFFIX="-master" - export BUILD_ROOT_EVO="$BUILD_ROOT_BASE/evo-$EVO_BUILD_TYPE" else # Build from tarballs export EVO_BUILD_SUFFIX="-stable" - export BUILD_ROOT_EVO=$BUILD_ROOT_BASE/evo + export EVO_BUILD_TYPE="stable" fi +export BUILD_ROOT_EVO=$BUILD_ROOT_BASE/$EVO_BUILD_TYPE +export BUILD_ROOT_DEPS=$BUILD_ROOT_EVO + if [ "$PATH_DEFAULT" = "" ] ; then export PATH_DEFAULT=$PATH fi |