[Dbconfig-common-changes] [dbconfig-common] r312 - in trunk: . debian internal

Sean Finney seanius at costa.debian.org
Mon Aug 21 13:44:37 CEST 2006


Author: seanius
Date: 2006-08-21 11:44:35 +0000 (Mon, 21 Aug 2006)
New Revision: 312

Modified:
   trunk/dbconfig-generate-include
   trunk/dbconfig-load-include
   trunk/debian/changelog
   trunk/debian/credit-xlators
   trunk/internal/common
Log:
fix for stderr problems

Modified: trunk/dbconfig-generate-include
===================================================================
--- trunk/dbconfig-generate-include	2006-08-19 14:50:38 UTC (rev 311)
+++ trunk/dbconfig-generate-include	2006-08-21 11:44:35 UTC (rev 312)
@@ -168,7 +168,7 @@
 		break
 	;;
 	*)
-		echo "eh? $1" > /dev/stderr
+		echo "eh? $1" >&2
 		exit 1
 	;;
 	esac

Modified: trunk/dbconfig-load-include
===================================================================
--- trunk/dbconfig-load-include	2006-08-19 14:50:38 UTC (rev 311)
+++ trunk/dbconfig-load-include	2006-08-21 11:44:35 UTC (rev 312)
@@ -127,7 +127,7 @@
 		break
 	;;
 	*)
-		echo "eh? $1" > /dev/stderr
+		echo "eh? $1" >&2
 		exit 1
 	;;
 	esac

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-08-19 14:50:38 UTC (rev 311)
+++ trunk/debian/changelog	2006-08-21 11:44:35 UTC (rev 312)
@@ -4,8 +4,10 @@
   [sean finney]
   * fix sourcing incorrect shell library in sqlite example, and make
     check for ucf in purge section.
+  * make sure all sh references to /dev/stderr go to &2 instead.  thanks
+    to Aidas Kasparas for finding this (closes: #383988).
 
- -- sean finney <seanius at debian.org>  Sat, 19 Aug 2006 16:49:39 +0200
+ -- sean finney <seanius at debian.org>  Mon, 21 Aug 2006 13:42:34 +0200
 
 dbconfig-common (1.8.20) unstable; urgency=low
 

Modified: trunk/debian/credit-xlators
===================================================================
--- trunk/debian/credit-xlators	2006-08-19 14:50:38 UTC (rev 311)
+++ trunk/debian/credit-xlators	2006-08-21 11:44:35 UTC (rev 312)
@@ -27,7 +27,7 @@
 		break
 	;;
 	*)
-		echo "eh? $1" > /dev/stderr
+		echo "eh? $1" >&2
 		exit 1
 	;;
 	esac

Modified: trunk/internal/common
===================================================================
--- trunk/internal/common	2006-08-19 14:50:38 UTC (rev 311)
+++ trunk/internal/common	2006-08-21 11:44:35 UTC (rev 312)
@@ -11,7 +11,7 @@
 dbc_logpart(){
 	# for the time being, at least, let's default to verbose
 	#if [ "$dbc_debug" ]; then
-		echo -ne "$@ " > /dev/stderr
+		echo -ne "$@ " >&2
 	#fi
 	if [ "$dbc_log" ]; then
 		dbc_log="$dbc_log $@"
@@ -26,7 +26,7 @@
 dbc_logline(){
 	# for the time being, at least, let's default to verbose
 	#if [ "$dbc_debug" ]; then
-		echo -e "$@." > /dev/stderr
+		echo -e "$@." >&2
 	#fi
 	if [ "$dbc_log" ]; then
 		dbc_log="$dbc_log $@."




More information about the Dbconfig-common-changes mailing list