diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-05-18 12:23:48 +0000 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2009-05-18 12:23:48 +0000 |
commit | 5358fa0937de01a23ea0978f827d87f3e74dca23 (patch) | |
tree | 43fbebdb840235acffa8ea6b77000dbeb8eda64d /tests | |
parent | 4cdda2c08d9158a0b2ca43386985e114396c254a (diff) | |
download | ptxdist-5358fa0937de01a23ea0978f827d87f3e74dca23.tar.gz ptxdist-5358fa0937de01a23ea0978f827d87f3e74dca23.tar.xz |
tests/setenv: print errors to user screen
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10536 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/setenv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/setenv b/tests/setenv index 9f88e7bdb..ac6ef4c2d 100755 --- a/tests/setenv +++ b/tests/setenv @@ -1,7 +1,7 @@ #!/bin/bash if [ ! -e "${PTXDIST_BOARDSETUP}" ]; then - echo "Please run 'ptxdist boardsetup' first!" + echo "Please run 'ptxdist boardsetup' first!" >&2 exit 1 fi @@ -10,7 +10,7 @@ if [ ! -r "${CONFFILE}.in" ]; then if [ -r "`dirname "${CONFFILE}"`/config.in" ]; then CONFFILE="`dirname "${CONFFILE}"`/config" else - echo "Config file for uboot environment is missing!" + echo "Config file for uboot environment is missing!" >&2 exit 1 fi fi |