[Debian-tex-commits] SVN tex-common commit + diffs: r4205 - in tex-common/branches/for-tl2008: debian scripts
Frank Küster
frank at alioth.debian.org
Thu Sep 24 12:18:09 UTC 2009
Author: frank
Date: 2009-09-24 12:18:08 +0000 (Thu, 24 Sep 2009)
New Revision: 4205
Modified:
tex-common/branches/for-tl2008/debian/changelog
tex-common/branches/for-tl2008/scripts/update-fontlang
Log:
remove bashisms
Modified: tex-common/branches/for-tl2008/debian/changelog
===================================================================
--- tex-common/branches/for-tl2008/debian/changelog 2009-09-23 23:56:39 UTC (rev 4204)
+++ tex-common/branches/for-tl2008/debian/changelog 2009-09-24 12:18:08 UTC (rev 4205)
@@ -1,3 +1,9 @@
+tex-common (2.01~7) experimental; urgency=low
+
+ * Remove bashisms and unsafe echo use from update-fontlang
+
+ -- Frank Küster <frank at debian.org> Thu, 24 Sep 2009 11:20:29 +0200
+
tex-common (2.01~6) experimental; urgency=low
* Add a Conflicts on old texlive-common, in order to force an upgrade of
Modified: tex-common/branches/for-tl2008/scripts/update-fontlang
===================================================================
--- tex-common/branches/for-tl2008/scripts/update-fontlang 2009-09-23 23:56:39 UTC (rev 4204)
+++ tex-common/branches/for-tl2008/scripts/update-fontlang 2009-09-24 12:18:08 UTC (rev 4205)
@@ -163,11 +163,11 @@
f=""
while [ ! "$1" = "" ] ; do
case "$1" in
- name=*) name="${1/#name=/}" ;;
- lefthyphenmin=*) lhm="${1/#lefthyphenmin=/}" ;;
- righthyphenmin=*) rhm="${1/#righthyphenmin=/}" ;;
- synonyms=*) synonyms="${1/#synonyms=/}" ;;
- file=*) f="${1/#file=/}" ;;
+ name=*) name="${1#name=}" ;;
+ lefthyphenmin=*) lhm="${1#lefthyphenmin=}" ;;
+ righthyphenmin=*) rhm="${1#righthyphenmin=}" ;;
+ synonyms=*) synonyms="${1#synonyms=}" ;;
+ file=*) f="${1#file=}" ;;
*) echo "Unknown AddHypen directive ==$line==!" >&2 ; return ;;
esac
shift
@@ -188,7 +188,7 @@
fi
fi
if [ "$HYPHENMODE" = "etex" ] ; then
- echo "\\addlanguage{$name}{$f}{}{$lhm}{$rhm}" >> "$tempfile"
+ printf '\\'"addlanguage{$name}{$f}{}{$lhm}{$rhm}" >> "$tempfile"
else
echo "$name $f" >> "$tempfile"
fi
@@ -197,7 +197,7 @@
IFS=",$IFS"
for s in $synonyms ; do
if [ "$HYPHENMODE" = "etex" ] ; then
- echo "\\addlanguage{$s}{$f}{}{$lhm}{$rhm}" >> "$tempfile"
+ printf '\\'"addlanguage{$s}{$f}{}{$lhm}{$rhm}" >> "$tempfile"
else
echo "=$s" >> "$tempfile"
fi
More information about the Debian-tex-commits
mailing list