From 04519d8e129153bde583a483f2f3a81b42d994ec Mon Sep 17 00:00:00 2001 From: adilger Date: Sun, 18 Apr 2004 22:50:33 +0000 Subject: [PATCH] Don't try to put a hyphen into the Lustre RPM release version. --- lnet/archdep.m4 | 2 +- lustre/portals/archdep.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1