diff options
author | Soispha <soispha@vhack.eu> | 2024-03-29 23:19:37 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-03-29 23:19:37 +0100 |
commit | 3796fe8f3f2f4708524961604345ce29a0baf6b2 (patch) | |
tree | f204fae5d4b12b345f3acdf859c9d5ba616e77e2 /sys/nixpkgs | |
parent | refactor(hm/conf/nvim/plgs/comment-nvim): Update to new module layout (diff) | |
download | nixos-config-3796fe8f3f2f4708524961604345ce29a0baf6b2.tar.gz nixos-config-3796fe8f3f2f4708524961604345ce29a0baf6b2.zip |
docs(pkgs/scripts/fupdate): Add somewhat better documentation
Diffstat (limited to '')
-rwxr-xr-x | sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh index 2c1ca938..da89d16a 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh @@ -75,10 +75,10 @@ update() { update_script="$1" flake_base_dir="$2" shift 2 - dbg "Provided following args to update script: '$*'" - dbg "changed directory to: $flake_base_dir" + cd "$flake_base_dir" || die "Provided dir \'$flake_base_dir\' can not be accessed" + dbg "changed directory to: $flake_base_dir" nix flake update @@ -97,7 +97,7 @@ help() { This is a Nix flake update manager. USAGE: - $NAME [--help] + $NAME [--help | --version] [flake [--no-script] | <some other command>] OPTIONS: --help | -h |