OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re Date: 04-Jul-2003 20:14:58
Branch: HEAD Handle: 2003070419145800
Modified files:
openpkg-re openpkg-dev
Log:
honor the force/-f option, please
Summary:
Revision Changes Path
1.115 +1 -1 openpkg-re/openpkg-dev
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/openpkg-dev
============================================================================
$ cvs diff -u -r1.114 -r1.115 openpkg-dev
--- openpkg-re/openpkg-dev 4 Jul 2003 17:57:54 -0000 1.114
+++ openpkg-re/openpkg-dev 4 Jul 2003 18:14:58 -0000 1.115
@@ -1633,7 +1633,7 @@
if [ -f "$bin_rpmdir/$bin_rpmfile" ]; then
echo "++ Linting binary package: ${bin_rpmdir}/${bin_rpmfile}"
perl ${OPENPKG_WORK}/re/rpmlint.pl --check=layout,attrib
$bin_rpmdir/$bin_rpmfile
- if [ $? -gt 0 ]; then
+ if [ $? -gt 0 -a $force -ne 1 ]; then
die "unacceptable specification: $bin_rpmdir/$bin_rpmfile"
fi
fi
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]