From 2a3f5188b54e4bc202441ab54eced1f884ced5a3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 17 Dec 2004 10:40:00 +0000 Subject: * Option to print out the path, analogous to nix-prefetch-url. svn path=/nixpkgs/trunk/; revision=1890 --- pkgs/build-support/fetchsvn/nix-prefetch-svn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/build-support/fetchsvn') 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 -- cgit 1.4.1