From 71ea4dbb8cae69f4cf1658bbe2778d60cab78e5d Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Tue, 12 Apr 2005 13:48:36 +0000
Subject: [PATCH] * Fix for *non*-suid installations.
svn path=/nixpkgs/trunk/; revision=2546
---
pkgs/build-support/fetchsvn/nix-prefetch-svn | 1 +
1 file changed, 1 insertion(+)
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