[Reproducible-commits] [texlive-bin] 02/02: fix bashism in mktexlsr (thanks Thorsten Glaser) (Closes: #811092)

Mattia Rizzolo mattia at debian.org
Sat Jan 23 18:21:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository texlive-bin.

commit 96e1042cd66200cd060f6d62712bccf68a9b6952
Author: Norbert Preining <preining at debian.org>
Date:   Sat Jan 16 00:05:20 2016 +0900

    fix bashism in mktexlsr (thanks Thorsten Glaser) (Closes: #811092)
---
 debian/changelog                    |  3 ++-
 debian/patches/fix-mktexlsr-bashims | 18 ++++++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8b45e61..73874de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 texlive-bin (2015.20150524.37493-8) UNRELEASED; urgency=medium
 
   * drop transitional dummy luatex package (Closes: #804070)
+  * fix bashism in mktexlsr (thanks Thorsten Glaser) (Closes: #811092)
 
- -- Norbert Preining <preining at debian.org>  Thu, 05 Nov 2015 08:06:46 +0900
+ -- Norbert Preining <preining at debian.org>  Sat, 16 Jan 2016 00:32:11 +0900
 
 texlive-bin (2015.20150524.37493-7) unstable; urgency=medium
 
diff --git a/debian/patches/fix-mktexlsr-bashims b/debian/patches/fix-mktexlsr-bashims
new file mode 100644
index 0000000..b974688
--- /dev/null
+++ b/debian/patches/fix-mktexlsr-bashims
@@ -0,0 +1,18 @@
+fix mktexlsr bashism (thanks Thorsten Glaser) (Closes: #811092)
+---
+ texk/kpathsea/mktexlsr |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- texlive-bin.orig/texk/kpathsea/mktexlsr
++++ texlive-bin/texk/kpathsea/mktexlsr
+@@ -177,8 +177,8 @@
+     # Use same permissions as parent directory, minus x,s, or t bits.
+     chmod `kpsestat -xst "$db_dir"` "$db_file"
+   elif test -s "$db_file" \
+-       && test "x`sed '1s/
$//;1q' \"$db_file\"`" != "x$ls_R_magic" \
+-       && test "x`sed '1s/
$//;1q' \"$db_file\"`" != "x$old_ls_R_magic"; then
++       && test "x$(sed '1s/
$//;1q' "$db_file")" != "x$ls_R_magic" \
++       && test "x$(sed '1s/
$//;1q' "$db_file")" != "x$old_ls_R_magic"; then
+     echo "$progname: $db_file: no magic string, skipping..." >&2
+     continue
+   fi
diff --git a/debian/patches/series b/debian/patches/series
index c650c12..ef048f1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@ upstream-svn38059-dvipdfmx-fix
 upstream-svn38068-dvipdfmx-fix
 upstream-svn38091-fix-pltotf-output
 fix-format-gcc-errors
+fix-mktexlsr-bashims

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/texlive-bin.git



More information about the Reproducible-commits mailing list