[ooo-build-commit] .: bin/ooo-pack-sources

Petr Mladek pmladek at kemper.freedesktop.org
Wed Sep 15 03:09:32 PDT 2010


 bin/ooo-pack-sources |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 8f5dff6ad8995225144bc921cea42164b67bbb49
Author: Petr Mladek <pmladek at walk.suse.cz>
Date:   Wed Sep 15 12:08:52 2010 +0200

    use $TMPDIR in ooo-pack-sources if set

diff --git a/bin/ooo-pack-sources b/bin/ooo-pack-sources
index 727b16c..7f48502 100755
--- a/bin/ooo-pack-sources
+++ b/bin/ooo-pack-sources
@@ -156,14 +156,13 @@ sub copy_dir_filter_and_show_progress($$$)
     print "\n";
 }
 
-
 # copy the local version of ooo-build into a tmp directory
 # omit the .svn subdirectories
 sub copy_ooo_build_to_tempdir($)
 {
     my ($ooo_build_dir) = @_;
 
-    my $tempdir = tempdir( '/tmp/ooo-build-XXXXXX' );
+    my $tempdir = tempdir( 'ooo-build-XXXXXX', DIR => File::Spec->tmpdir );
     my $blacklist = "$tempdir/ooo-build.copy.blacklist";
 
     generate_ooo_build_blacklist($blacklist);
@@ -181,7 +180,7 @@ sub copy_ooo_piece_to_tempdir($$$)
     my ($piece_dir, $piece, $piece_tarball) = @_;
 
 
-    my $tempdir = tempdir( '/tmp/ooo-build-XXXXXX' );
+    my $tempdir = tempdir( 'ooo-build-XXXXXX', DIR => File::Spec->tmpdir );
     my $blacklist = "$tempdir/ooo-build.copy.blacklist";
 
     my $top_dir = $piece_tarball;


More information about the ooo-build-commit mailing list