diff --git a/acme-downloader.sh b/acme-downloader.sh index d089aa2304d8f96be6abe41fdbeeee48593b97e9..0fc52de963763b8cd96cfa8f753c3c88017bc224 100755 --- a/acme-downloader.sh +++ b/acme-downloader.sh @@ -46,9 +46,9 @@ check_version() { REMOTE_VERSION=$(curl -s $METADATA_URL | jq -j .properties.version[0]) if [[ $PROG_VERSION != $REMOTE_VERSION ]]; then echo "" - echo "you are running version ${PROG_VERSION}" - echo "version $REMOTE_VERSION is available" - echo "in order to fetch and install the new version you can use the option: --update" + echo "you are running $(basename $0) ${PROG_VERSION}" + echo "$(basename $0) $REMOTE_VERSION is available" + echo "to install the new version you can run: $(basename $0) --update" echo "" else if [[ -n $CHECK ]]; then