[PATCH 2/4] runlatex.sh: Fix typo in grep pattern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 2cfb4b536d30ff9a1f4ad1723d6ac6b8b663a12f Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Sun, 12 Mar 2017 20:27:51 +0900
Subject: [PATCH 2/4] runlatex.sh: Fix typo in grep pattern

There was a typo in grep pattern. This means we were giving up
prematurely while there were still changes in warnings.
We were lucky to have sufficient iterations of pdflatex to reduce
remaining warnings.
This typo did not affect successful builds.

Also fix similar typo in runfirstlatex.sh.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 utilities/runfirstlatex.sh | 2 +-
 utilities/runlatex.sh      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utilities/runfirstlatex.sh b/utilities/runfirstlatex.sh
index 5060725..dc55cb7 100644
--- a/utilities/runfirstlatex.sh
+++ b/utilities/runfirstlatex.sh
@@ -46,6 +46,6 @@ then
 	echo "----- Fatal latex error, see $basename.log for details. -----"
 	exit 1
 fi
-grep 'Latex Warning:' $basename.log > $basename-warning.log
+grep 'LaTeX Warning:' $basename.log > $basename-warning.log
 touch $basename-first.log
 exit 0
diff --git a/utilities/runlatex.sh b/utilities/runlatex.sh
index 0fa6633..da9e82d 100644
--- a/utilities/runlatex.sh
+++ b/utilities/runlatex.sh
@@ -50,7 +50,7 @@ iterate_latex () {
 	then
 		mv -f $basename-warning.log $basename-warning-prev.log
 	fi
-	grep 'LaTex Warning:' $basename.log > $basename-warning.log
+	grep 'LaTeX Warning:' $basename.log > $basename-warning.log
 	return 0 ;
 }
 
-- 
2.7.4


--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux