diff --git a/hledger-install/hledger-install.sh b/hledger-install/hledger-install.sh index 24bf7a045..12b5d56c1 100755 --- a/hledger-install/hledger-install.sh +++ b/hledger-install/hledger-install.sh @@ -9,12 +9,13 @@ usage() { cat </dev/null | grep -E '[0-9]' | $SED -e 's/[^0-9]*([0-9][0-9.]*).*/\1/') || "" } @@ -746,7 +750,7 @@ print_cmd_version() { # Show the installation status of the $HLEDGER_MAIN_TOOLS and $HLEDGER_OTHER_TOOLS. print_hledger_versions() { - for cmd in $HLEDGER_MAIN_TOOLS $HLEDGER_OTHER_TOOLS; do print_cmd_version $cmd; done + for cmd in $HLEDGER_MAIN_TOOLS $HLEDGER_OTHER_TOOLS $(basename $0) ; do print_cmd_version $cmd; done } # Run a command, but first log it with "Trying" prepended.