diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-15 10:55:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-15 10:55:17 +0000 |
commit | b6898a91bf508a10db8682c1e07666893a069c06 (patch) | |
tree | de2ea45e9718fd8a4db5af3ca6e6d4c5db9adc18 /build_archive | |
parent | cae24bfca78cf360a9a85f0aa97436ce810d4da0 (diff) | |
download | rpmtools-b6898a91bf508a10db8682c1e07666893a069c06.tar rpmtools-b6898a91bf508a10db8682c1e07666893a069c06.tar.gz rpmtools-b6898a91bf508a10db8682c1e07666893a069c06.tar.bz2 rpmtools-b6898a91bf508a10db8682c1e07666893a069c06.tar.xz rpmtools-b6898a91bf508a10db8682c1e07666893a069c06.zip |
use TMPDIR if availableodysseyOdyssey-rc1
Diffstat (limited to 'build_archive')
-rwxr-xr-x | build_archive | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_archive b/build_archive index ae8bcf0..6da6fae 100755 --- a/build_archive +++ b/build_archive @@ -49,7 +49,8 @@ #+use strict qw(subs vars refs); #- tempory file used for building. -my $tmpz = "/tmp/tmp.z.$$"; +my $tmpdir = $ENV{TMPDIR} || "/tmp"; +my $tmpz = "$tmpdir/tmp.z.$$"; sub toc_line { my ($file, $data) = @_; |