mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-21 22:50:07 -07:00
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:
parent
b04a707130
commit
6a41ce4f7e
@ -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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user