[tex-live] mktexlsr and ignoring lsR*.tmp

Karl Berry karl at freefriends.org
Sun Apr 4 18:18:23 CEST 2004


I checked in the appended change (#4677) to bin/i386-linux/mktexlsr.  I
know that's not the correct source location, but I don't know where that
is.  source.development/TeX/texk/kpathsea/mktexlsr has other changes not
in the bin/*/mktexlsr version yet.  Sigh.

Sebastian, should we try to do a nightly or at least weekly build to
avoid being so out of sync all the time?

Anyway, the change just omits directory lines like this:
./lsR12345.tmp:

as well as the file lines
lsR12345.tmp
which were already omitted.

This makes it so my update-auto cron job does not check in a new version
every day.

Thanks,
k

==== //depot/Master/bin/i386-linux/mktexlsr#25 - /home/karl/src/Master/bin/i386$
@@ -111,7 +111,8 @@
   # names results in nothing but grief.
   echo "./:" >>"$db_file_tmp"
   (cd "$TEXMFLS_R" && \ls -LRa 2>/dev/null) |
-    sed 's%^[^.].*:$%./&%; /^\.$/d; /^\.\.$/d; /^lsR[0-9]*\.tmp$/d' >>"$db_fil$
+    sed 's%^[^.].*:$%./&%; /^\.$/d; /^\.\.$/d; /^.*\/\?lsR[0-9]*\.tmp:\?$/d' \
+    >>"$db_file_tmp"                                                           

   # To be really safe, a loop.
   until PERMS=`kpsestat = "$db_file"`; do sleep 1; done


More information about the tex-live mailing list