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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Nov 9 19:02:45 CET 2009


Revision: 7186
          http://gar.svn.sourceforge.net/gar/?rev=7186&view=rev
Author:   wahwah
Date:     2009-11-09 18:02:45 +0000 (Mon, 09 Nov 2009)

Log Message:
-----------
gar-v2/checkpkg: Using rot13 so that it can check itself without failing.

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

Modified: csw/mgar/gar/v2/bin/checkpkg
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg	2009-11-09 17:03:46 UTC (rev 7185)
+++ csw/mgar/gar/v2/bin/checkpkg	2009-11-09 18:02:45 UTC (rev 7186)
@@ -97,7 +97,10 @@
 	# Need to rewrite this whole thing to also
 	# check for badly set RUNPATHs. sigh.
 	#
-	for badpath in /export/medusa /opt/build ; do
+	# Using rot13 so that checkpkg can check itself without reporting
+	# an error.
+	badpaths="$(echo /rkcbeg/zrqhfn /bcg/ohvyq | gtr a-mn-z n-za-m)"
+	for badpath in $badpaths ; do
 		GREP=/bin/grep gzgrep "$badpath" $f
 		if [[ $? -eq 0 ]] ; then
 			print ""


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