]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Sending error messages of buildscripts to stderr.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 1 May 2009 20:22:20 +0000 (22:22 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 1 May 2009 20:22:20 +0000 (22:22 +0200)
tools/make-beautify

index 127d086b6aa6009502cd7de648b0e36e45083742..a889b46b97fd1f07caf0f01262a9ad23374813dc 100644 (file)
@@ -208,9 +208,9 @@ function shrink_string() {
 } # End of shrink_string()
 
 dialogerror() {
-       beautify message FAIL
+       beautify message FAIL >&2
 
-       echo -ne "${FAIL}ERROR${NORMAL}: ${BOLD}$*${NORMAL}\n"
+       echo -ne "${FAIL}ERROR${NORMAL}: ${BOLD}$*${NORMAL}\n" >&2
        [ -z "$LOGFILE" ] || \
-       echo "       Check $LOGFILE for errors if applicable"
+       echo "       Check $LOGFILE for errors if applicable" >&2
 } # End of dialogerror()