bump(main/ldd): 0.3

This commit is contained in:
termux-pacman-bot
2024-01-25 22:36:56 +00:00
parent bd4fd91a7d
commit feab3699d8
2 changed files with 6 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/termux-packages
TERMUX_PKG_DESCRIPTION="Fake ldd command"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.2
TERMUX_PKG_VERSION=0.3
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_DEPENDS="bash, binutils-bin"

View File

@@ -86,11 +86,15 @@ do_search() {
}
num_args="$#"
if [ "$num_args" -lt 1 ]; then
if [ "$num_args" -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage: ldd file..." >&2
exit 1
fi
if [ "$1" = "--" ]; then
shift 1
fi
for f in "$@"; do
if [ "$num_args" -gt 1 ]; then
echo "$f":