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