From 44b8819b9ad3030c4327c1fab555fd25a178a25e Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 18 Jun 2003 05:59:17 +0000 Subject: [PATCH] Remove dashes from the version in the RPM package. Use exact name of the RPM package. --- maint/mcsnap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maint/mcsnap b/maint/mcsnap index ce34b9c0b..104df229e 100755 --- a/maint/mcsnap +++ b/maint/mcsnap @@ -69,7 +69,8 @@ fi rm -f $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm rm -rf $RPM_SRC_DIR/BUILD/mc-*/ rpmbuild -tb "$MCTARBALL" -MC_RPM=`echo $RPM_SRC_DIR/RPMS/i386/mc-$MCVERSION-*.i386.rpm` +MC_RPM_VERSION=`echo $MCVERSION | sed s/-//g` +MC_RPM=$RPM_SRC_DIR/RPMS/i386/mc-$MC_RPM_VERSION-1.i386.rpm if test ! -f $MC_RPM; then echo "Failed to compile package!!!" exit 1