r3255 - trunk/scripts

Jurij Smakov jurij-guest@costa.debian.org
Sat, 28 May 2005 19:10:53 +0000


Author: jurij-guest
Date: 2005-05-28 19:10:53 +0000 (Sat, 28 May 2005)
New Revision: 3255

Modified:
   trunk/scripts/prune-non-free
Log:
Temporary directory is now created in the
directory from which a script is run, because
FileUtils.mv is broken w/respect to moving
directories across partitions, and it is not
a very good idea to put massive amounts of
data into /tmp.


Modified: trunk/scripts/prune-non-free
===================================================================
--- trunk/scripts/prune-non-free	2005-05-28 18:59:27 UTC (rev 3254)
+++ trunk/scripts/prune-non-free	2005-05-28 19:10:53 UTC (rev 3255)
@@ -129,7 +129,7 @@
 end
 
 def tmpdir
-	tf = Tempfile.new('prune')
+	tf = Tempfile.new('prune', '.')
 	FileUtils.rm_f(tf.path)
 	FileUtils.mkdir_p(tf.path)
 	tf.path