ogajduse / rpms / texlive

Forked from rpms/texlive 6 years ago
Clone
4931932
---
4931932
 build/source/texk/tetex/fmtutil |    7 ++++---
4931932
 1 file changed, 4 insertions(+), 3 deletions(-)
4931932
4931932
Index: texlive-bin-2007/build/source/texk/tetex/fmtutil
4931932
===================================================================
4931932
--- texlive-bin-2007.orig/build/source/texk/tetex/fmtutil	2007-04-13 14:04:31.000000000 +0200
4931932
+++ texlive-bin-2007/build/source/texk/tetex/fmtutil	2007-04-13 14:09:48.000000000 +0200
4931932
@@ -696,9 +696,7 @@
4931932
   if test -f $fmtfile; then
4931932
     grep '^! ' $format.log >/dev/null 2>&1 &&
4931932
       log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' possibly failed."
4931932
-    rm -f "$fulldestdir/$format.log"
4931932
-    # We don't want user-interaction for the following "mv" commands:
4931932
-    mv "$format.log" "$fulldestdir/$format.log" 
4931932
+    # We don't want user-interaction for the following "mv" command:
4931932
     if mv "$fmtfile" "$fulldestdir/$fmtfile" 
4931932
       verboseMsg "$progname: $fulldestdir/$fmtfile installed."
4931932
       #
4931932
@@ -710,6 +708,9 @@
4931932
   else
4931932
     log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' failed"
4931932
   fi
4931932
+  rm -f "$fulldestdir/$format.log"
4931932
+  # We don't want user-interaction for the following "mv" command:
4931932
+  mv "$format.log" "$fulldestdir/$format.log" 
4931932
 }
4931932
 
4931932
 ###############################################################################