These patches send convertDefault.sh's error messages to STDERR rather than
STDOUT. They're trivial, so I'm applying 'em now.

-- 
Angus
Index: lib/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.363.2.103
diff -u -p -r1.363.2.103 ChangeLog
--- lib/ChangeLog	25 Mar 2005 16:27:41 -0000	1.363.2.103
+++ lib/ChangeLog	17 Apr 2005 17:22:47 -0000
@@ -1,3 +1,7 @@
+2005-04-15  Angus Leeming  <[EMAIL PROTECTED]>
+
+	* scripts/convertDefault.sh: post error messages to STDERR.
+
 2005-03-25  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* layouts/revtex4.layout: indicate that the revtex4 class provides
Index: lib/scripts/convertDefault.sh
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/scripts/convertDefault.sh,v
retrieving revision 1.5.2.3
diff -u -p -r1.5.2.3 convertDefault.sh
--- lib/scripts/convertDefault.sh	24 Mar 2005 09:19:16 -0000	1.5.2.3
+++ lib/scripts/convertDefault.sh	17 Apr 2005 17:22:48 -0000
@@ -16,8 +16,8 @@
 
 # converts an image from $1 to $2 format
 convert -depth 8 "$1" "$2" || {
-	echo "$0 ERROR"
-	echo "Execution of \"convert\" failed."
+	echo "$0 ERROR" >&2
+	echo "Execution of \"convert\" failed." >&2
 	exit 1
 }
 
Index: lib/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.684
diff -u -p -r1.684 ChangeLog
--- lib/ChangeLog	9 Apr 2005 10:52:52 -0000	1.684
+++ lib/ChangeLog	17 Apr 2005 17:23:27 -0000
@@ -1,3 +1,7 @@
+2005-04-15  Angus Leeming  <[EMAIL PROTECTED]>
+
+	* scripts/convertDefault.sh: post error messages to STDERR. 
+
 2005-04-09  Angus Leeming  <[EMAIL PROTECTED]>
 
 	* Makefile.am (dist_scripts_DATA): add scripts/fig_copy.sh and
Index: lib/scripts/convertDefault.sh
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/scripts/convertDefault.sh,v
retrieving revision 1.10
diff -u -p -r1.10 convertDefault.sh
--- lib/scripts/convertDefault.sh	23 Mar 2005 21:48:08 -0000	1.10
+++ lib/scripts/convertDefault.sh	17 Apr 2005 17:23:27 -0000
@@ -16,7 +16,7 @@
 
 # converts an image from $1 to $2 format
 convert -depth 8 "$1" "$2" || {
-	echo "$0 ERROR"
-	echo "Execution of \"convert\" failed."
+	echo "$0 ERROR" >&2
+	echo "Execution of \"convert\" failed." >&2
 	exit 1
 }

Reply via email to