Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126918
Collapse All | Expand All

(-)tetex-src-2.0.2.orig/texk/kpathsea/mktexlsr (-1 / +1 lines)
Lines 83-89 Link Here
83
  test -w "$db_dir" || { echo "$progname: $db_dir: directory not writable. Skipping..." >&2; continue; }
83
  test -w "$db_dir" || { echo "$progname: $db_dir: directory not writable. Skipping..." >&2; continue; }
84
84
85
  if test ! -f "$db_file"; then
85
  if test ! -f "$db_file"; then
86
    cp /dev/null "$db_file"
86
    touch "$db_file"
87
    # Use same permissions as parent directory, minus x,s, or t bits.
87
    # Use same permissions as parent directory, minus x,s, or t bits.
88
    chmod `kpsestat -xst "$db_dir"` "$db_file"
88
    chmod `kpsestat -xst "$db_dir"` "$db_file"
89
  elif test "x`sed '1s/
$//;1q' \"$db_file\"`" != "x$ls_R_magic" \
89
  elif test "x`sed '1s/
$//;1q' \"$db_file\"`" != "x$ls_R_magic" \
(-)tetex-src-2.0.2.orig/texk/make/man.mk (-1 / +1 lines)
Lines 28-34 Link Here
28
# Makefile can change for reasons that do not affect the man pages.
28
# Makefile can change for reasons that do not affect the man pages.
29
# At present, all but VERSION should be unused.
29
# At present, all but VERSION should be unused.
30
sedscript:
30
sedscript:
31
	cp /dev/null sedscript
31
	touch sedscript
32
	for f in $(kpathsea_dir)/paths.h; do \
32
	for f in $(kpathsea_dir)/paths.h; do \
33
	  sed -n -e '/^#define/s/#define[ 	][ 	]*\([A-Z_a-z][A-Z_a-z]*\)[ 	][ 	]*\(.*\)/s%@\1@%\2%/p' \
33
	  sed -n -e '/^#define/s/#define[ 	][ 	]*\([A-Z_a-z][A-Z_a-z]*\)[ 	][ 	]*\(.*\)/s%@\1@%\2%/p' \
34
		$$f \
34
		$$f \

Return to bug 126918