diff --git a/maint/mcsnap b/maint/mcsnap index 26088b14d..ce34b9c0b 100755 --- a/maint/mcsnap +++ b/maint/mcsnap @@ -69,7 +69,7 @@ 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-*.i386.rpm` +MC_RPM=`echo $RPM_SRC_DIR/RPMS/i386/mc-$MCVERSION-*.i386.rpm` if test ! -f $MC_RPM; then echo "Failed to compile package!!!" exit 1