echo to stderr in stead of stdout. else hydra cannot read hash/path
svn path=/nixpkgs/trunk/; revision=18448
This commit is contained in:
parent
4f20056bca
commit
4dca2c8b12
1 changed files with 2 additions and 2 deletions
|
@ -39,14 +39,14 @@ if test -z "$finalPath"; then
|
|||
git clone "$url" $tmpFile 1>&2
|
||||
if test -n "$rev"; then
|
||||
cd $tmpFile
|
||||
echo $tmpFile
|
||||
echo $tmpFile >&2
|
||||
git checkout $rev 1>&2
|
||||
fi
|
||||
# Allow doing additional processing before .git removal
|
||||
eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK"
|
||||
if test "$NIX_PREFETCH_GIT_LEAVE_DOT_GIT" != 1
|
||||
then
|
||||
echo "removing \`.git'..."
|
||||
echo "removing \`.git'..." >&2
|
||||
rm -rf .git
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue