Use more specific mask for mc rpm to avoid matching the debuginfo package

on Red Hat 9.
This commit is contained in:
Pavel Roskin 2003-06-18 05:26:58 +00:00
parent 5b2bd08768
commit 9e147de291

View File

@ -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