From: Arnaud Giersch Date: Wed, 5 Feb 2014 10:13:46 +0000 (+0100) Subject: Write error messages on stderr. X-Git-Tag: v3_11_beta~86 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bfe049ff37155fe8d0c7a721e54b15826df5b3e4?hp=4639f7678933049b3b79fb6b90a2be0e11a16cc9 Write error messages on stderr. --- diff --git a/tools/check_dist_archive b/tools/check_dist_archive index 92092eacb8..c3c5ae597f 100755 --- a/tools/check_dist_archive +++ b/tools/check_dist_archive @@ -12,7 +12,7 @@ else fi if [ $# -lt 1 -o $# -gt 3 ]; then - cat <&2 <&2 exit 1 fi @@ -49,7 +49,7 @@ case "$myname" in esac if [ ! -r "$exclude" ]; then - printf 'File not found: %s\n' "$exclude" + printf 'File not found: %s\n' "$exclude" >&2 exit 1 fi