From: PHO Date: Thu, 23 Feb 2012 14:17:09 +0000 (+0900) Subject: say_hello: honor $0 X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=build-hc-pkg.git;a=commitdiff_plain;h=082333fbdae7c6f466de7e9b07d31c412e2043e6 say_hello: honor $0 --- diff --git a/build-hc-pkg b/build-hc-pkg index 07f1cd2..c70fb5d 100755 --- a/build-hc-pkg +++ b/build-hc-pkg @@ -34,7 +34,7 @@ function say_hello () { local -r platform=$(detect_platform_type) local -r n_cpus=$(detect_number_of_cpus) - echo -n "This is build-hc-pkg, running on $platform with $n_cpus " + echo -n "This is "$(basename "$0")", running on $platform with $n_cpus " if (( $n_cpus == 1 )); then echo "processor." else