From 082333fbdae7c6f466de7e9b07d31c412e2043e6 Mon Sep 17 00:00:00 2001 From: PHO Date: Thu, 23 Feb 2012 23:17:09 +0900 Subject: [PATCH] say_hello: honor $0 --- build-hc-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0