[tex-k] Minor bug in mktexpk
Paul Vojta
vojta at Math.Berkeley.EDU
Tue Oct 23 02:38:56 CEST 2007
Here's a patch for a minor bug in mktexpk. It should be self-explanatory.
--Paul Vojta, vojta at math.berkeley.edu
-----------
--- mktexpk.orig Mon Oct 22 16:49:01 2007
+++ mktexpk Mon Oct 22 16:41:53 2007
@@ -250,7 +250,7 @@
# Use cp when mv fails, since DOS will fail mv for deeply-nested directories.
mv $PKNAME "$PKDESTDIR/pk$$.tmp" 2>/dev/null \
|| cp $PKNAME "$PKDESTDIR/pk$$.tmp" || exit 1
-cd $PKDESTDIR || exit 1
+cd "$PKDESTDIR" || exit 1
chmod `kpsestat -xst,go-w .` pk$$.tmp
test -r $PKNAME || mv pk$$.tmp $PKNAME || exit 1
More information about the tex-k
mailing list