From 60e427f81d3c9a47c8298b25ad0b6404c74e7dbe Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Fri, 10 Jun 2016 13:38:52 +0200 Subject: [PATCH] Corrected error printing in autogen.sh Printing to standard error is done using '&' insted of '$'. --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index a6a04b8b3..a6c6d538b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -8,7 +8,7 @@ if test $? -eq 0; then # try date with FreeBSD syntax GRAPHVIZ_VERSION_DATE=$( date -u -j -f "%Y-%m-%d %H:%M:%S %z" "$GRAPHVIZ_GIT_DATE" +%Y%m%d.%H%M ) if test $? -ne 0; then - echo "Warning: we do not know how to invoke date correctly." >$2 + echo "Warning: we do not know how to invoke date correctly." >&2 else echo "Version date is based on time of last commit: $GRAPHVIZ_VERSION_DATE" fi @@ -17,7 +17,7 @@ if test $? -eq 0; then fi else GRAPHVIZ_VERSION_DATE="0" - echo "Warning: we do not appear to be running in a git clone." >$2 + echo "Warning: we do not appear to be running in a git clone." >&2 fi # initialize version for a "stable" build -- 2.40.0