From: adilger Date: Sun, 18 Apr 2004 22:50:33 +0000 (+0000) Subject: Don't try to put a hyphen into the Lustre RPM release version. X-Git-Tag: 1.2.2~86 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=04519d8e129153bde583a483f2f3a81b42d994ec;p=fs%2Flustre-release.git Don't try to put a hyphen into the Lustre RPM release version. --- diff --git a/lnet/archdep.m4 b/lnet/archdep.m4 index 182a485..95c9b4a 100644 --- a/lnet/archdep.m4 +++ b/lnet/archdep.m4 @@ -235,7 +235,7 @@ if test x$enable_modules != xno ; then # ------------ RELEASE -------------------------------- AC_MSG_CHECKING([for Lustre release]) - RELEASE="${LINUXRELEASE}_`date +%Y%m%d%H%M`" + RELEASE="`echo ${LINUXRELEASE} | tr '-' '_'`_`date +%Y%m%d%H%M`" AC_MSG_RESULT($RELEASE) AC_SUBST(RELEASE) fi diff --git a/lustre/portals/archdep.m4 b/lustre/portals/archdep.m4 index 182a485..95c9b4a 100644 --- a/lustre/portals/archdep.m4 +++ b/lustre/portals/archdep.m4 @@ -235,7 +235,7 @@ if test x$enable_modules != xno ; then # ------------ RELEASE -------------------------------- AC_MSG_CHECKING([for Lustre release]) - RELEASE="${LINUXRELEASE}_`date +%Y%m%d%H%M`" + RELEASE="`echo ${LINUXRELEASE} | tr '-' '_'`_`date +%Y%m%d%H%M`" AC_MSG_RESULT($RELEASE) AC_SUBST(RELEASE) fi