diff options
Diffstat (limited to 'upkg')
| -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 ) |
