[meta-freescale] [PATCH 2/5] setup-environment: specify script name correctly

Trevor Woerner trevor.woerner at linaro.org
Sun Mar 30 15:04:49 PDT 2014


When giving an error message, be sure to specify the script name correctly
(otherwise it just names your shell).

Signed-off-by: Trevor Woerner <trevor.woerner at linaro.org>
---
 setup-environment | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-environment b/setup-environment
index 5466103..0ad1c11 100644
--- a/setup-environment
+++ b/setup-environment
@@ -124,7 +124,7 @@ for f in $CWD/sources/base/*; do
     fi
 done
 if [ "$updated" = "true" ]; then
-    echo "The project root content has been updated. Please run $0 again."
+    echo "The project root content has been updated. Please run $PROGNAME again."
     return
 fi
 
-- 
1.9.0



More information about the meta-freescale mailing list