summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-12-17 10:40:00 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-12-17 10:40:00 +0000
commit2a3f5188b54e4bc202441ab54eced1f884ced5a3 (patch)
tree721efc68c3d8bf47b86a1c7ac65ba73ef9d49e50 /pkgs/build-support/fetchsvn
parent43b626337fb155bfb92a9df4f33e9da956777e12 (diff)
downloadnixpkgs-2a3f5188b54e4bc202441ab54eced1f884ced5a3.tar
nixpkgs-2a3f5188b54e4bc202441ab54eced1f884ced5a3.tar.gz
nixpkgs-2a3f5188b54e4bc202441ab54eced1f884ced5a3.tar.bz2
nixpkgs-2a3f5188b54e4bc202441ab54eced1f884ced5a3.tar.lz
nixpkgs-2a3f5188b54e4bc202441ab54eced1f884ced5a3.tar.xz
nixpkgs-2a3f5188b54e4bc202441ab54eced1f884ced5a3.tar.zst
nixpkgs-2a3f5188b54e4bc202441ab54eced1f884ced5a3.zip
* Option to print out the path, analogous to nix-prefetch-url.
svn path=/nixpkgs/trunk/; revision=1890
Diffstat (limited to 'pkgs/build-support/fetchsvn')
-rwxr-xr-xpkgs/build-support/fetchsvn/nix-prefetch-svn4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn
index 9d037032b1c..4ff17d7789d 100755
--- a/pkgs/build-support/fetchsvn/nix-prefetch-svn
+++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn
@@ -45,3 +45,7 @@ echo "path is $finalPath" >&2
 rm -rf $tmpPath2 || true
 
 echo $hash
+
+if test -n "$PRINT_PATH"; then
+    echo $finalPath
+fi