diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-09-25 03:34:33 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-09-25 03:34:33 -0400 |
| commit | 84399c6e500e311f3bc7206fd8e9d335d6861a86 (patch) | |
| tree | d777a7b5cda354e5e2783f859cabc6e5a211f455 | |
| parent | 4d57bd62f0b11b09e70375f196cf5d63c92ed49a (diff) | |
| download | sbo-maintainer-tools-84399c6e500e311f3bc7206fd8e9d335d6861a86.tar.gz | |
upkg: fix quoting error.
| -rwxr-xr-x | upkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ) |
