From 9ff91371d040941c347b95dc7ea081a9c6aa4d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Wed, 15 Jun 2016 22:54:35 +0200 Subject: [PATCH] nix-prefetch-git: fix bash evaluation order dependency --- 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 a15c1850d822..9b330d821f85 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -68,7 +68,7 @@ for arg; do --builder) builder=true;; --help) usage; exit;; *) - argi=$((argi++)) + : $((++argi)) case $argi in 1) url=$arg;; 2) rev=$arg;;