[SCM] live-manual branch, debian-next, updated. debian/3.0_a15-1-28-g384bc75

chals chals at altorricon.com
Thu Aug 30 12:19:22 UTC 2012


The following commit has been merged in the debian-next branch:
commit ee9dd649ab24129cf9181e21a8df94e87920a9c1
Author: chals <chals at altorricon.com>
Date:   Thu Aug 30 14:00:12 2012 +0200

    Changing sed separatorsto follow the project's coding style and clarifying the echoed message.

diff --git a/manual/bin/unfuzzy-dates.sh b/manual/bin/unfuzzy-dates.sh
index 6f9da3d..6380e45 100755
--- a/manual/bin/unfuzzy-dates.sh
+++ b/manual/bin/unfuzzy-dates.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -x
 
 set -e
 
@@ -9,11 +9,11 @@ XY="50"
 
 # Getting the unfuzzying done.
 
-echo "Fixing 'fuzzy' in date strings..."
+echo "Fixing 'fuzzy' in date strings if necessary..."
 
 for LANGUAGE in $(ls po)
 do
-	if [ "$(grep --line-number --word-regexp 'fuzzy' po/${LANGUAGE}/live-manual.ssm.po | sed 's/[^0-9]*//g')" -eq "${XY}" ] > /dev/null 2>&1
+	if [ "$(grep --line-number --word-regexp 'fuzzy' po/${LANGUAGE}/live-manual.ssm.po | sed 's|[^0-9]*||g')" -eq "${XY}" ] > /dev/null 2>&1
 	then
 		sed -i	-e "${XY} s|#, fuzzy, no-wrap|#, no-wrap|" \
 			-e "$((${XY} + 1)),$((${XY} + 3))d" \

-- 
live-manual



More information about the debian-live-changes mailing list