diff --git a/bin/sde-update-package b/bin/sde-update-package index 6c639cf..cc30eb4 100755 --- a/bin/sde-update-package +++ b/bin/sde-update-package @@ -23,15 +23,16 @@ . "$SDEROOT/lib/sde-package.in" update_usage() { - local progname=${0##*/} + local progname= + progname="$(echo ${0##*/} | tr - ' ')" cat <] [] [] +Usage: $progname [--location ] [] [] Updates a package (which is autodetected if you are on it) to a given version, or simply download and regenerate checksums. Using --location you are able to specify which will be the new download location for this update. - ${progname//-/ } [--no-location] --md5 (Alias: up) + $progname [--no-location] --md5 (Alias: up) Updates a set of packages based on a remote .md5 file Using --no-location you tell the tool to not assume the download location of the md5 file for the updates but keep their individual