mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nix-prefetch-git: fix bash evaluation order dependency
This commit is contained in:
parent
a689df205a
commit
9ff91371d0
@ -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;;
|
||||
|
Loading…
Reference in New Issue
Block a user