Package: texlive-bin / 2018.20181218.49446-1

debian-fix-quote-in-quote Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fix mktexlsr bashism (thanks Thorsten Glaser) (Closes: #811092)
---
 texk/kpathsea/mktexlsr |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- source.orig/texk/kpathsea/mktexlsr
+++ source/texk/kpathsea/mktexlsr
@@ -188,8 +188,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