forked from kiss-community/kiss
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() {
|
main() {
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
[ "$1" ] ||
|
[ "$1" ] || set -- "$PWD"
|
||||||
die 'usage: kiss [ou]tdated /path/to/repo...'
|
|
||||||
|
|
||||||
mkdir -p "${tmp:=${XDG_CACHE_HOME:-"$HOME/.cache"}/kiss/repology}"
|
mkdir -p "${tmp:=${XDG_CACHE_HOME:-"$HOME/.cache"}/kiss/repology}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user