Download snapshots to $TMPDIR

wilder
Michael Pyne 15 years ago
parent 8ca035bd62
commit a26b80046c
  1. 3
      kdesrc-build

@ -2416,6 +2416,9 @@ sub installGitSnapshot
info "\tDownloading git snapshot for g[$module]";
my $filename = basename(URI->new($tarball)->path());
my $tmpdir = File::Spec->tmpdir() // "/tmp";
$filename = "$tmpdir/$filename"; # Make absolute
if (!download_file($tarball, $filename)) {
error "Unable to download snapshot for module r[$module]";
return 0;

Loading…
Cancel
Save