[csw-devel] SF.net SVN: gar:[20112] csw/mgar/gar/v2/lib/python/package.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Jan 13 18:38:48 CET 2013


Revision: 20112
          http://gar.svn.sourceforge.net/gar/?rev=20112&view=rev
Author:   wahwah
Date:     2013-01-13 17:38:48 +0000 (Sun, 13 Jan 2013)
Log Message:
-----------
checkpkg: Unpack into /var/tmp

Instead of /tmp, because some packages may be large.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/package.py

Modified: csw/mgar/gar/v2/lib/python/package.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package.py	2013-01-13 17:38:22 UTC (rev 20111)
+++ csw/mgar/gar/v2/lib/python/package.py	2013-01-13 17:38:48 UTC (rev 20112)
@@ -70,7 +70,7 @@
 
   def GetWorkDir(self):
     if not self.workdir:
-      self.workdir = tempfile.mkdtemp(prefix="pkg_")
+      self.workdir = tempfile.mkdtemp(prefix="pkg_", dir="/var/tmp")
       fd = open(os.path.join(self.workdir, "admin"), "w")
       fd.write(ADMIN_FILE_CONTENT)
       fd.close()

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