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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Sep 2 10:41:01 CEST 2010


Revision: 10897
          http://gar.svn.sourceforge.net/gar/?rev=10897&view=rev
Author:   wahwah
Date:     2010-09-02 08:41:01 +0000 (Thu, 02 Sep 2010)

Log Message:
-----------
mGAR v2: checkpkg, removing mentions of the -o flags.

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

Modified: csw/mgar/gar/v2/bin/checkpkg
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg	2010-09-02 02:30:19 UTC (rev 10896)
+++ csw/mgar/gar/v2/bin/checkpkg	2010-09-02 08:41:01 UTC (rev 10897)
@@ -102,7 +102,6 @@
 #  - Use an pre-cached (from a catalog file?) list of md5 sums
 #  - Don't use the data from /var/sadm/install/contents
 SAVE_TAGS=0
-SAVED_TAGS_FILE=error-tags.txt
 display_help=0
 SKIP_STATS_COLLECTION=0
 MD5_SUMS_CATALOG_FILE=""
@@ -119,9 +118,6 @@
 	  s)
       SAVE_TAGS=1
       ;;
-    o)
-      SAVED_TAGS_FILE="${OPTARG}"
-      ;;
     d)
       DEBUG=1
       ;;
@@ -151,7 +147,6 @@
 
 readonly INSTALL_CONTENTS_FILES
 readonly MD5_SUMS_CATALOG_FILE
-readonly SAVED_TAGS_FILE
 readonly SAVE_TAGS
 readonly SKIP_STATS_COLLECTION
 readonly ANALYZE
@@ -163,22 +158,17 @@
   print 'Options:'
   print '   -c <file>  use an additional install/contents file'
   print '   -s         save error tags on disk'
-  print '   -o <file>  save tag output to file'
   print '   -d         display debug messages'
   print '   -N         skip statistics collection'
   print '   -M <file>  use package md5sums from a catalog file'
   print '   -A         Do not analyze the results.'
   print '   -p         Enable profiling'
   print '   -q         Display less messages'
+  print ''
+  print 'Error tags are saved to the sqlite database.'
   exit 0
 fi
 
-if [[ "${SAVE_TAGS}" -eq 1 ]]; then
-  if [[ -f "${SAVED_TAGS_FILE}" ]]; then
-  	rm "${SAVED_TAGS_FILE}"
-  fi
-fi
-
 # a unique filename for the list of package deps and libs we see in a 'set'
 SETINF=$CHECKPKG_TMPDIR/checkpkg.$$.`date +%Y%m%d%H%M%S`
 SETLIBS=$SETINF.libs


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