mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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;;
|
--builder) builder=true;;
|
||||||
--help) usage; exit;;
|
--help) usage; exit;;
|
||||||
*)
|
*)
|
||||||
argi=$((argi++))
|
: $((++argi))
|
||||||
case $argi in
|
case $argi in
|
||||||
1) url=$arg;;
|
1) url=$arg;;
|
||||||
2) rev=$arg;;
|
2) rev=$arg;;
|
||||||
|
Loading…
Reference in New Issue
Block a user