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:
parent
84339a279a
commit
67ccf37ac6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user