echo to stderr in stead of stdout. else hydra cannot read hash/path

svn path=/nixpkgs/trunk/; revision=18448

+2 -2
+2 -2
pkgs/build-support/fetchgit/nix-prefetch-git
··· 39 git clone "$url" $tmpFile 1>&2 40 if test -n "$rev"; then 41 cd $tmpFile 42 - echo $tmpFile 43 git checkout $rev 1>&2 44 fi 45 # Allow doing additional processing before .git removal 46 eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK" 47 if test "$NIX_PREFETCH_GIT_LEAVE_DOT_GIT" != 1 48 then 49 - echo "removing \`.git'..." 50 rm -rf .git 51 fi 52
··· 39 git clone "$url" $tmpFile 1>&2 40 if test -n "$rev"; then 41 cd $tmpFile 42 + echo $tmpFile >&2 43 git checkout $rev 1>&2 44 fi 45 # Allow doing additional processing before .git removal 46 eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK" 47 if test "$NIX_PREFETCH_GIT_LEAVE_DOT_GIT" != 1 48 then 49 + echo "removing \`.git'..." >&2 50 rm -rf .git 51 fi 52