- Timestamp:
- Aug 1, 2006, 12:47:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/build2pkg
r732 r733 69 69 log=$TMP/$p-rpm.log 70 70 71 if [ "$dfam" = "mandriva" ||"$dfam" = "suse" ]; then71 if [ "$dfam" = "mandriva" ] || [ "$dfam" = "suse" ]; then 72 72 echo "Generating bzip2 files ($dfam)" 73 73 gzip -cd $src | bzip2 -c3 > SOURCES/$pv.tar.bz2 … … 87 87 else 88 88 egrep '^Wrote:' $log 89 rpmlint `egrep '^Wrote:' $log | cut -d: -f2` 89 if [ -f /usr/bin/rpmlint ]; then 90 /usr/bin/rpmlint `egrep '^Wrote:' $log | cut -d: -f2` 91 else 92 echo "No rpmlint found, please install it" 93 fi 90 94 fi 91 95 rm -rf ${TOPBUILDDIR}/BUILD/*
Note:
See TracChangeset
for help on using the changeset viewer.