From 6a41ce4f7edeb62a451b0e238e8613b08a6b98f9 Mon Sep 17 00:00:00 2001 From: sewn Date: Fri, 20 Jan 2023 07:52:57 +0000 Subject: [PATCH] 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 Co-authored-by: sewn Co-committed-by: sewn --- contrib/kiss-outdated | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/kiss-outdated b/contrib/kiss-outdated index 6d58539..403179e 100755 --- a/contrib/kiss-outdated +++ b/contrib/kiss-outdated @@ -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}"