summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xpkgs/build-support/fetchsvn/nix-prefetch-svn1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn
index 00d860e347e..b6019386ee9 100755
--- a/pkgs/build-support/fetchsvn/nix-prefetch-svn
+++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn
@@ -32,6 +32,7 @@ if test -z "$hash"; then
         dummyMode=1
         tmpPath1=/tmp/nix-prefetch-svn-$$ # !!! security?
     fi
+    rm -f $tmpPath1
 
     # Perform the checkout.
     svn export -r "$rev" "$url" $tmpPath1 >&2