diff options
| author | 2025-12-11 21:13:53 +0000 | |
|---|---|---|
| committer | 2025-12-11 21:13:53 +0000 | |
| commit | 9c75997e2467477c1da19bc7143485e945449221 (patch) | |
| tree | 9c44796fbd662bc563fdeae58cf8bb86a303ac6f /pkgs | |
| parent | pkgs/pywb: shift args (diff) | |
| signature | ||
pkgs/pywb: fix using __get_path
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/pywb/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/pywb/default.nix b/pkgs/pywb/default.nix index 4e98969..8d6c92d 100644 --- a/pkgs/pywb/default.nix +++ b/pkgs/pywb/default.nix @@ -19,7 +19,7 @@ writeShellApplication { elif [ -f "$pwbs/$cmd" ]; then exec "${pywikibot}/bin/pwb" "$pwbs/''${1:-}" "$@" else - if [ "$1" = "__get_path" ]; then + if [ "$cmd" = "__get_path" ]; then echo "$pwbs" exit fi |
