[24196] trunk/base/src/port1.0/portsubmit.tcl

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 18 21:30:37 PDT 2007


Revision: 24196
          http://trac.macosforge.org/projects/macports/changeset/24196
Author:   jberry at macports.org
Date:     2007-04-18 21:30:37 -0700 (Wed, 18 Apr 2007)

Log Message:
-----------
exclude .DSStore and .svn files from portpkg

Modified Paths:
--------------
    trunk/base/src/port1.0/portsubmit.tcl

Modified: trunk/base/src/port1.0/portsubmit.tcl
===================================================================
--- trunk/base/src/port1.0/portsubmit.tcl	2007-04-19 03:48:04 UTC (rev 24195)
+++ trunk/base/src/port1.0/portsubmit.tcl	2007-04-19 04:30:37 UTC (rev 24196)
@@ -129,6 +129,8 @@
 		puts $sd "<submitter>"
 			putel $sd name $submitter_name
 			putel $sd email $submitter_email
+			
+			# TODO provide means to set notes?
 			putel $sd notes ""
 		puts $sd "</submitter>"
 		
@@ -158,7 +160,7 @@
     close $sd
     
     # Create portpkg.xar, including the metadata and the portpkg directory contents
-    set cmd "cd ${workpath}; ${xar} -cf ${pkgpath} ${dirname} -s ${metapath} -n ${metaname}"
+    set cmd "cd ${workpath}; ${xar} -cf ${pkgpath} --exclude \\.DSStore --exclude \\.svn ${dirname} -s ${metapath} -n ${metaname}"
     if {[system $cmd] != ""} {
 		return -code error [format [msgcat::mc "Failed to create portpkg for port : %s"] $portname]
     }
@@ -170,7 +172,7 @@
 proc submit_main {args} {
     global portname portversion prefix UI_PREFIX workpath portpath
   
-   	# Create portpkg.xar in the work direcotory
+   	# Create portpkg.xar in the work directory
    	create_portpkg
    	
    	# If a private key was provided, create a signed digest of the submission

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070418/72b8b1c8/attachment.html


More information about the macports-changes mailing list