Skip to content
Permalink
Browse files
ensure $ERL_TOP exists prior to exiting relax.sh for interactive use
  • Loading branch information
dch committed Jan 10, 2012
1 parent 4677787 commit dd437637736073f049fa2243035eb806d4aa1c70
Showing 1 changed file with 3 additions and 3 deletions.
@@ -68,10 +68,10 @@ MC_SH_DEBUG_LOG=$TMP/mc_r$OTP_VER.log

export OVERRIDE_TARGET CC CXX AR RANLIB OVERRIDE_CONFIG_CACHE_STATIC OVERRIDE_CONFIG_CACHE INCLUDE LIB LIBPATH LINK CL PATH TMP CC_SH LD_SH RC_SH MD_SH MC_SH ERL_TOP ERTS_VSN OTP_VER SHELL RELAX GLAZIER WIN32_WRAPPER_PATH OVERRIDE_TARGET

# ensure we have an ERL_TOP to go to
mkdir -p $ERL_TOP > /dev/null 2>&1
chdir $ERL_TOP

# first change to $RELAX as if erlang tar.gz are not extracted the latter will fail
cd $RELAX
cd $ERL_TOP
# this shouldn't change anything really
### eval `./otp_build env_win32`

0 comments on commit dd43763

Please sign in to comment.