Debian Codegraph @

debian/patches/debian-fix-quote-in-quote

raw
1 fix mktexlsr bashism (thanks Thorsten Glaser) (Closes: #811092)
2 ---
3 texk/kpathsea/mktexlsr | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 --- texlive-base-2022.20220722.orig/texmf-dist/scripts/texlive/mktexlsr
7 +++ texlive-base-2022.20220722/texmf-dist/scripts/texlive/mktexlsr
8 @@ -188,8 +188,8 @@
9 # Use same permissions as parent directory, minus x,s, or t bits.
10 chmod `kpsestat -xst "$db_dir"` "$db_file"
11 elif test -s "$db_file" \
12 - && test "x`sed '1s/ $//;1q' \"$db_file\"`" != "x$ls_R_magic" \
13 - && test "x`sed '1s/ $//;1q' \"$db_file\"`" != "x$old_ls_R_magic"; then
14 + && test "x$(sed '1s/ $//;1q' "$db_file")" != "x$ls_R_magic" \
15 + && test "x$(sed '1s/ $//;1q' "$db_file")" != "x$old_ls_R_magic"; then
16 echo "$progname: $db_file: no magic string, skipping..." >&2
17 continue
18 fi