|
[Rivet-svn] r2631 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgSun Aug 1 13:56:01 BST 2010
Author: buckley Date: Sun Aug 1 13:56:01 2010 New Revision: 2631 Log: Adding wait() statements to make sure that child processes return Modified: trunk/bin/make-plots Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Fri Jul 30 20:24:45 2010 (r2630) +++ trunk/bin/make-plots Sun Aug 1 13:56:01 2010 (r2631) @@ -1885,6 +1885,7 @@ ## Check minion font if opts.OUTPUT_FONT == "MINION": p = subprocess.Popen(["kpsewhich", "minion.sty"], stdout=subprocess.PIPE) + p.wait() if p.returncode != 0: logging.warning('Warning: Using "--minion" requires minion.sty to be installed. Ignoring it.') opts.OUTPUT_FONT = "PALATINO" @@ -1893,12 +1894,14 @@ opts.LATEXPKGS = [] for pkg in ["hepnicenames", "hepunits", "underscore"]: p = subprocess.Popen(["kpsewhich", "%s.sty" % pkg], stdout=subprocess.PIPE) + p.wait() if p.returncode == 0: opts.LATEXPKGS.append(pkg) ## Check for Palatino old style figures and small caps if opts.OUTPUT_FONT == "PALATINO": p = subprocess.Popen(["kpsewhich", "ot1pplx.fd"], stdout=subprocess.PIPE) + p.wait() if p.returncode == 0: opts.OUTPUT_FONT = "PALATINO_OSF"
More information about the Rivet-svn mailing list |