Whamcloud - gitweb
Don't try to put a hyphen into the Lustre RPM release version.
authoradilger <adilger>
Sun, 18 Apr 2004 22:50:33 +0000 (22:50 +0000)
committeradilger <adilger>
Sun, 18 Apr 2004 22:50:33 +0000 (22:50 +0000)
lnet/archdep.m4
lustre/portals/archdep.m4

index 182a485..95c9b4a 100644 (file)
@@ -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
index 182a485..95c9b4a 100644 (file)
@@ -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