Skip to content

Commit

Permalink
fix setting of ERTS_MAJOR and ERTS_MINOR
Browse files Browse the repository at this point in the history
  • Loading branch information
vinoski committed Jan 6, 2010
1 parent f5eb9d5 commit 297f2c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.in
Expand Up @@ -99,9 +99,9 @@ fi
AC_SUBST(ERLDIR)
AC_SUBST(ERL_DLL_LIB)


ERTS_MINOR=`ls "${ERLDIR}" | grep erts | sed 's/erts-.\.//' | sed 's/\..*//'`
ERTS_MAJOR=`ls "${ERLDIR}" |grep erts | sed 's/erts-//' | sed 's/\..*//'`
erts_vsn=`ls "${ERLDIR}" | grep ^erts | tail -1 | sed 's/erts-//'`
ERTS_MINOR=`echo $erts_vsn | sed -e 's/^.\.//' -e 's/\..*//'`
ERTS_MAJOR=`echo $erts_vsn | sed 's/\..*//'`
AC_SUBST(ERTS_MINOR)
AC_SUBST(ERTS_MAJOR)

Expand Down

0 comments on commit 297f2c9

Please sign in to comment.