Remove old mc sources in the RPM build directory.

This commit is contained in:
Pavel Roskin 2002-11-29 06:13:47 +00:00
parent c3f5696cca
commit 6bf01d1155

View File

@ -57,6 +57,7 @@ fi
# Make an RPM package # Make an RPM package
rm -f $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm rm -f $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm
rm -rf $RPM_SRC_DIR/BUILD/mc-*/
rpmbuild -tb "$MCTARBALL" rpmbuild -tb "$MCTARBALL"
MC_RPM=`echo $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm` MC_RPM=`echo $RPM_SRC_DIR/RPMS/i386/mc-*.i386.rpm`
if test ! -f $MC_RPM; then if test ! -f $MC_RPM; then