diff options
-rwxr-xr-x | sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh index 0032be4b..572299ea 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh @@ -72,7 +72,7 @@ ask_to_allow_update_script() { update() { update_script="$1" flake_base_dir="$2" - shift 2; + shift 2 dbg "Provided following args to update script: '$*'" dbg "changed directory to: $flake_base_dir" @@ -151,15 +151,15 @@ done case "$1" in "flake") shift 1 - [ "$1" = "--" ] && shift 1; + [ "$1" = "--" ] && shift 1 main "$@" ;; *) command="$1" shift 1 - [ "$1" = "--" ] && shift 1; + [ "$1" = "--" ] && shift 1 if which update-"$command" >/dev/null 2>&1; then - update-"$command" "$@" + update-"$command" "$@" else die "command \"update-$command\" is not executable, or does not exist" fi |