From: PHO Date: Thu, 23 Feb 2012 14:18:57 +0000 (+0900) Subject: say_hello: cosmetic changes X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=build-hc-pkg.git;a=commitdiff_plain;h=7396a2756ee58050fce202477f83adb7d12e1bec say_hello: cosmetic changes --- diff --git a/build-hc-pkg b/build-hc-pkg index c70fb5d..48e674b 100755 --- a/build-hc-pkg +++ b/build-hc-pkg @@ -31,10 +31,11 @@ function detect_gnu_tar () { } function say_hello () { + local -r self=$(basename "$0") local -r platform=$(detect_platform_type) local -r n_cpus=$(detect_number_of_cpus) - echo -n "This is "$(basename "$0")", running on $platform with $n_cpus " + echo -n "This is $self, running on $platform with $n_cpus " if (( $n_cpus == 1 )); then echo "processor." else