[med-svn] r2067 - in trunk/packages/minc/trunk/debian: . patches

smr at alioth.debian.org smr at alioth.debian.org
Wed Jun 18 04:09:23 UTC 2008


Author: smr
Date: 2008-06-18 04:09:22 +0000 (Wed, 18 Jun 2008)
New Revision: 2067

Added:
   trunk/packages/minc/trunk/debian/patches/02_mincedit-no-escape-chars.diff
Modified:
   trunk/packages/minc/trunk/debian/changelog
Log:
Patch mincedit to remove extranous \n strings.

Modified: trunk/packages/minc/trunk/debian/changelog
===================================================================
--- trunk/packages/minc/trunk/debian/changelog	2008-06-17 23:52:16 UTC (rev 2066)
+++ trunk/packages/minc/trunk/debian/changelog	2008-06-18 04:09:22 UTC (rev 2067)
@@ -1,9 +1,14 @@
 minc (2.0.15-3) UNRELEASED; urgency=low
 
+  [ Charles Plessy ]
   * debian/copyright: added upstream contact information.
 
- -- Charles Plessy <plessy at debian.org>  Wed, 18 Jun 2008 08:50:01 +0900
+  [ Steve M. Robbins ]
+  * debian/patches/02_mincedit-no-escape-chars.diff: New.  Patch mincedit
+    to remove extraneous \n strings.  Closes: 486048.
 
+ -- Steve M. Robbins <smr at debian.org>  Tue, 17 Jun 2008 23:08:16 -0500
+
 minc (2.0.15-2) unstable; urgency=low
 
   [ David Paleino ]

Added: trunk/packages/minc/trunk/debian/patches/02_mincedit-no-escape-chars.diff
===================================================================
--- trunk/packages/minc/trunk/debian/patches/02_mincedit-no-escape-chars.diff	                        (rev 0)
+++ trunk/packages/minc/trunk/debian/patches/02_mincedit-no-escape-chars.diff	2008-06-18 04:09:22 UTC (rev 2067)
@@ -0,0 +1,43 @@
+Index: progs/mincedit/mincedit
+===================================================================
+RCS file: /private-cvsroot/minc/progs/mincedit/mincedit,v
+retrieving revision 6.8
+diff -u -b -B -r6.8 mincedit
+--- progs/mincedit/mincedit	5 Feb 2008 13:48:45 -0000	6.8
++++ progs/mincedit/mincedit	18 Jun 2008 03:48:30 -0000
+@@ -80,7 +80,7 @@
+ }
+ 
+ me=`basename $0`
+-usage="Usage: $me <minc file> [<editor>]\n"
++usage="Usage: $me <minc file> [<editor>]"
+ 
+ # create tmpdir
+ tmpdir=${TMPDIR:-/tmp}/mincedit.$$
+@@ -139,7 +139,7 @@
+ status=$?
+ if [ $status -ne 0 ]
+ then
+-   echo "${0}: Error reading file '$infile'\n"
++   echo "${0}: Error reading file '$infile'"
+    exit 1
+ fi
+ 
+@@ -155,7 +155,7 @@
+    status=$?
+    if [ $status -ne 0 ] 
+    then
+-      echo "$me: Error editing with editor '$editor'\n"
++      echo "$me: Error editing with editor '$editor'"
+       exit 1
+    fi
+    do_edit=0
+@@ -165,7 +165,7 @@
+    status=$?
+    if [ $status -eq 0 ] 
+    then
+-      echo "$me: File $infile not modified\n"
++      echo "$me: File $infile not modified"
+       exit 0
+    fi
+    




More information about the debian-med-commit mailing list