diff mbox

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

Message ID 1396217092-30829-3-git-send-email-trevor.woerner@linaro.org
State New
Headers show

Commit Message

Trevor Woerner March 30, 2014, 10:04 p.m. UTC
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@linaro.org>
---
 setup-environment | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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