[csw-devel] SF.net SVN: gar:[7195] csw/mgar/gar/v2/bin/checkpkg

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Nov 10 03:22:01 CET 2009


Revision: 7195
          http://gar.svn.sourceforge.net/gar/?rev=7195&view=rev
Author:   bdwalton
Date:     2009-11-10 02:22:01 +0000 (Tue, 10 Nov 2009)

Log Message:
-----------
gar: checkpkg should allow for packages with no deps

Modified Paths:
--------------
    csw/mgar/gar/v2/bin/checkpkg

Modified: csw/mgar/gar/v2/bin/checkpkg
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg	2009-11-10 02:01:49 UTC (rev 7194)
+++ csw/mgar/gar/v2/bin/checkpkg	2009-11-10 02:22:01 UTC (rev 7195)
@@ -446,7 +446,7 @@
 # Verify that there are no double depends
 repeated_depends="$(awk '{print $2}' $EXTRACTDIR/$pkgname/install/depend \
   | sort | uniq -c | awk '{print $1}' | sort | uniq | wc -l)"
-if [[ "$repeated_depends" -ne 1 ]]; then
+if [[ "$repeated_depends" -gt 1 ]]; then
         cat $EXTRACTDIR/$pkgname/install/depend
         print ERROR: $pkgname has double depends
         exit 1


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list