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

Submitted by Trevor Woerner on March 30, 2014, 10:04 p.m.

Details

Message ID 1396217092-30829-3-git-send-email-trevor.woerner@linaro.org
State Not Applicable, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Trevor Woerner March 30, 2014, 10:04 p.m.
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(-)

Patch hide | download patch | download mbox

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