diff options
author | Edward Tjörnhammar <ed@cflags.cc> | 2014-11-10 06:53:24 +0100 |
---|---|---|
committer | Edward Tjörnhammar <ed@cflags.cc> | 2014-11-10 06:53:24 +0100 |
commit | 4030ab3ba4988cc96d22f6bf6963cf3727aa2e41 (patch) | |
tree | 6a10e1fd274c47b968d542956187b6652d3fbc6e | |
parent | 91c7ffc49845b5e4f69955304cf89d0999795d36 (diff) | |
download | nixlib-4030ab3ba4988cc96d22f6bf6963cf3727aa2e41.tar nixlib-4030ab3ba4988cc96d22f6bf6963cf3727aa2e41.tar.gz nixlib-4030ab3ba4988cc96d22f6bf6963cf3727aa2e41.tar.bz2 nixlib-4030ab3ba4988cc96d22f6bf6963cf3727aa2e41.tar.lz nixlib-4030ab3ba4988cc96d22f6bf6963cf3727aa2e41.tar.xz nixlib-4030ab3ba4988cc96d22f6bf6963cf3727aa2e41.tar.zst nixlib-4030ab3ba4988cc96d22f6bf6963cf3727aa2e41.zip |
add parens to de ambiguify
-rwxr-xr-x | pkgs/build-support/fetchgit/nix-prefetch-git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index 986f8af869e2..7fa76334396a 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -83,7 +83,7 @@ init_remote(){ local url=$1 git init git remote add origin $url - [ -n "$http_proxy" ] && git config http.proxy $http_proxy || true + ( [ -n "$http_proxy" ] && git config http.proxy $http_proxy ) || true } # Return the reference of an hash if it exists on the remote repository. |