kiss-outdated: use PWD when no args are given (#108)

Co-authored-by: wael <40663@proton.me>
Reviewed-on: https://codeberg.org/kiss-community/kiss/pulls/108
Reviewed-by: phoebos <phoebos@noreply.codeberg.org>
Co-authored-by: sewn <sewn@disroot.org>
Co-committed-by: sewn <sewn@disroot.org>
This commit is contained in:
sewn 2023-01-20 07:52:57 +00:00 committed by Pratham
parent b04a707130
commit 6a41ce4f7e
1 changed files with 1 additions and 2 deletions

View File

@ -382,8 +382,7 @@ get_outdated() {
main() {
set -e
[ "$1" ] ||
die 'usage: kiss [ou]tdated /path/to/repo...'
[ "$1" ] || set -- "$PWD"
mkdir -p "${tmp:=${XDG_CACHE_HOME:-"$HOME/.cache"}/kiss/repology}"