diff options
author | Florent Villard <warly@mandriva.com> | 2004-04-21 09:17:23 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2004-04-21 09:17:23 +0000 |
commit | 47d322ffcdcb7358fc4795f473887f54e30b7766 (patch) | |
tree | 4f5c8353c23d5b3125755734589b88cf997a2cbd /gendistrib | |
parent | 0186277d93ec7bfb7f240ef3225fb835298b40c9 (diff) | |
download | rpmtools-47d322ffcdcb7358fc4795f473887f54e30b7766.tar rpmtools-47d322ffcdcb7358fc4795f473887f54e30b7766.tar.gz rpmtools-47d322ffcdcb7358fc4795f473887f54e30b7766.tar.bz2 rpmtools-47d322ffcdcb7358fc4795f473887f54e30b7766.tar.xz rpmtools-47d322ffcdcb7358fc4795f473887f54e30b7766.zip |
make $ENV{TMPDIR} the default cache location
Diffstat (limited to 'gendistrib')
-rwxr-xr-x | gendistrib | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ use Getopt::Long; my $urpm = new URPM; my ($noclean, $nohdlists, $nobasefiles, $nooutput, $dontdie, $nochkdep, $rootdistrib, @root, @hdlists) = (0, 0, 0, 0); -my $headers_dir = (-d "$ENV{HOME}/tmp" ? "$ENV{HOME}/tmp" : $ENV{TMPDIR} || "/tmp") . "/.build_hdlist"; +my $headers_dir = (-d "$ENV{TMPDIR}" ? $ENV{TMPDIR} : -d "$ENV{HOME}/tmp" ? "$ENV{HOME}/tmp" : "/tmp") . "/.build_hdlist"; sub usage { print <<EOF; |