From 4030ab3ba4988cc96d22f6bf6963cf3727aa2e41 Mon Sep 17 00:00:00 2001 From: Edward Tjörnhammar Date: Mon, 10 Nov 2014 06:53:24 +0100 Subject: add parens to de ambiguify --- pkgs/build-support/fetchgit/nix-prefetch-git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit 1.4.1