diff options
author | Soispha <soispha@vhack.eu> | 2024-03-29 23:23:16 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-03-29 23:23:16 +0100 |
commit | f924002d8a1545c8fed14e3456ae04244fda1123 (patch) | |
tree | 4b0bda7510f546a20666256d657c38ccbbdacb07 /sys/nixpkgs/pkgs | |
parent | fix(pkgs/scripts/fupdate): Avoid polluting the arguments of the update script (diff) | |
download | nixos-config-f924002d8a1545c8fed14e3456ae04244fda1123.tar.gz nixos-config-f924002d8a1545c8fed14e3456ae04244fda1123.zip |
fix(pkgs/scripts/fupdate): Ignore args after `--`
Diffstat (limited to 'sys/nixpkgs/pkgs')
-rwxr-xr-x | sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh index c28f363f..590505cc 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh @@ -155,6 +155,9 @@ for input in "$@"; do ;; "--") end_of_cli_options=true + + # Stop processing args after that marker. + break ;; esac [ "$end_of_cli_options" = "true" ] && break |