diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2009-11-17 15:50:20 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2009-11-17 15:50:20 +0000 |
commit | 66a537f774bfe92556d46558f1cac2670e9e9e6c (patch) | |
tree | 3a8e906f0aab6c0c84bdd6f6732d1633662a157d /pkgs | |
parent | aed79cca1a0f2c6209e8446b499b5702561f8858 (diff) | |
download | nixpkgs-66a537f774bfe92556d46558f1cac2670e9e9e6c.tar nixpkgs-66a537f774bfe92556d46558f1cac2670e9e9e6c.tar.gz nixpkgs-66a537f774bfe92556d46558f1cac2670e9e9e6c.tar.bz2 nixpkgs-66a537f774bfe92556d46558f1cac2670e9e9e6c.tar.lz nixpkgs-66a537f774bfe92556d46558f1cac2670e9e9e6c.tar.xz nixpkgs-66a537f774bfe92556d46558f1cac2670e9e9e6c.tar.zst nixpkgs-66a537f774bfe92556d46558f1cac2670e9e9e6c.zip |
redirect stdout of git calls to stderr to allow git to work in hydra as input
svn path=/nixpkgs/trunk/; revision=18393
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/build-support/fetchgit/nix-prefetch-git | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index d14f13bfa11..3803522ea76 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -36,11 +36,11 @@ if test -z "$finalPath"; then trap "rm -rf $tmpPath" EXIT # Perform the checkout. - git clone --depth 1 "$url" $tmpFile + git clone --depth 1 "$url" $tmpFile 1>&2 if test -n "$rev"; then cd $tmpFile echo $tmpFile - git checkout $rev + git checkout $rev 1>&2 fi # Allow doing additional processing before .git removal eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK" |