Changeset 886


Ignore:
Timestamp:
Oct 8, 2006, 3:10:04 PM (13 years ago)
Author:
bruno
Message:

Again a small bug in build process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0/tools/build2pkg

    r885 r886  
    6363            ar=$ARCH
    6464        fi
    65         pkg1="${TOPBUILDDIR}/RPMS/${ar}/$pv-${TAG}${suf}.${ar}.rpm"
    66         #rm -f $pkg1
    67 
    68         pkg="$pkg $pkg1"
    6965
    7066        log=$MONDOTMP/$p-rpm.log
     
    8783            status=-1
    8884        else
     85            export pkg1="`egrep '^Wrote:' $log | cut -d: -f2`"
    8986            if [ -f /usr/bin/rpmlint ]; then
    90                 /usr/bin/rpmlint `egrep '^Wrote:' $log | cut -d: -f2`
     87                /usr/bin/rpmlint $pkg1
    9188            else
    9289                echo "No rpmlint found, please install it"
    9390            fi
     91            export pkg="$pkg `ls $pkg1 | grep -v src.rpm`"
    9492        fi
    9593        rm -rf ${TOPBUILDDIR}/BUILD/*
Note: See TracChangeset for help on using the changeset viewer.