diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-09-03 16:28:33 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-09-03 16:28:38 +0200 |
commit | 6e5e1481eb480edf7a31ee65996524387b007bd0 (patch) | |
tree | dddc1b3e8c8dad696cc4f591eeaedd8625e537ef /scripts/libptxdist.sh | |
parent | 7a16b7ad6c88680c405bf86d38da89627c86ff28 (diff) | |
download | ptxdist-6e5e1481eb480edf7a31ee65996524387b007bd0.tar.gz ptxdist-6e5e1481eb480edf7a31ee65996524387b007bd0.tar.xz |
libptxdist: really fix verbose printing
PTXDIST_VERBOSE is set to '0' or '1'
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/libptxdist.sh')
-rw-r--r-- | scripts/libptxdist.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh index de52c4060..6e7c5b960 100644 --- a/scripts/libptxdist.sh +++ b/scripts/libptxdist.sh @@ -713,7 +713,7 @@ export -f ptxd_warning # the message will always be written to the logfile # ptxd_verbose() { - if [ -z "${PTXDIST_VERBOSE}" ]; then + if [ "${PTXDIST_VERBOSE}" == "1" ]; then echo "${PTXDIST_LOG_PROMPT}""${@}" >&2 else echo "${PTXDIST_LOG_PROMPT}""${@}" >&7 |