aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-09-25 03:34:33 -0400
committerB. Watson <urchlay@slackware.uk>2026-09-25 03:34:33 -0400
commit84399c6e500e311f3bc7206fd8e9d335d6861a86 (patch)
treed777a7b5cda354e5e2783f859cabc6e5a211f455
parent4d57bd62f0b11b09e70375f196cf5d63c92ed49a (diff)
downloadsbo-maintainer-tools-84399c6e500e311f3bc7206fd8e9d335d6861a86.tar.gz
upkg: fix quoting error.
-rwxr-xr-xupkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/upkg b/upkg
index 342b396..0cbf74b 100755
--- a/upkg
+++ b/upkg
@@ -4,7 +4,7 @@ if [ "$1" = "--help" ]; then
cat <<EOF
upkg - upgrade/install/reinstall a Slackware package.
-Usage: upkg <package> [<package> ...]
+Usage: upkg [package [<package> ...]]
<package> is an installable Slackware package (.tgz, etc).
@@ -45,7 +45,7 @@ esac
# the package filename. Otherwise, read .info file for version number
# and extract BUILD from the SlackBuild.
-if [ -z "$@" ]; then
+if [ -z "$*" ]; then
script="$( echo *.SlackBuild)"
[ "$script" = '*.SlackBuild' ] && die "no .SlackBuild file in current dir"
script1=$( echo *.SlackBuild | cut -d' ' -f1 )