[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet popinet at users.sf.net
Fri May 15 02:53:26 UTC 2009


The following commit has been merged in the upstream branch:
commit 15f86696edb23b5e6657b6402792420d24e1516b
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Wed Jan 31 10:01:41 2007 +1100

    Python test script works with dash
    
    darcs-hash:20070130230141-d4795-4e0cfa30bd3bb611a9d1578903f48d39b332c798.gz

diff --git a/doc/examples/gfs2tex.py b/doc/examples/gfs2tex.py
index bcc916b..dd31ffa 100644
--- a/doc/examples/gfs2tex.py
+++ b/doc/examples/gfs2tex.py
@@ -230,8 +230,8 @@ class Example:
             return None,None
 
     def run(self,env=""):
-        out = os.popen("cd " + self.path + " && ( time -p " + env +\
-                       " sh -c \"" + self.command + "\" ) 2>&1")
+        out = os.popen("cd " + self.path + " && ( time -p " +\
+                       " sh -c \"" + env + " " + self.command + "\" ) 2>&1")
         lines = []
         for l in out:
             record = l.split()

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list