1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-23 07:30:16 -07:00

kiss-size: clean up

This commit is contained in:
Dylan Araps 2020-09-09 14:21:44 +03:00
parent 84339a279a
commit 67ccf37ac6
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -16,9 +16,7 @@ get_size() {
} }
# Use the current directory as the package name if no package is given. # Use the current directory as the package name if no package is given.
[ "$1" ] || { [ "$1" ] || set -- "${PWD##*/}"
set -- "${PWD##*/}"
}
# Ignore shellcheck as we want the warning's behavior. # Ignore shellcheck as we want the warning's behavior.
# shellcheck disable=2015 # shellcheck disable=2015