[Checkins] SVN: zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py
minor fix: we need to patch after we adjusted the path to configure
Jodok Batlogg
jodok.batlogg at lovelysystems.com
Sun Jun 3 13:07:42 EDT 2007
Log message for revision 76260:
minor fix: we need to patch after we adjusted the path to configure
Changed:
U zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py
-=-
Modified: zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py
===================================================================
--- zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py 2007-06-03 17:00:33 UTC (rev 76259)
+++ zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py 2007-06-03 17:07:42 UTC (rev 76260)
@@ -48,13 +48,7 @@
os.mkdir(dest)
here = os.getcwd()
try:
- os.chdir(tmp)
- if patch is not '':
- try:
- system("patch %s < %s" % (patch_options, patch))
- finally:
- os.chdir(tmp)
-
+ os.chdir(tmp)
try:
if not os.path.exists('configure'):
entries = os.listdir(tmp)
@@ -62,7 +56,8 @@
os.chdir(entries[0])
else:
raise ValueError("Couldn't find configure")
-
+ if patch is not '':
+ system("patch %s < %s" % (patch_options, patch))
system("./configure --prefix=%s %s" %
(dest, extra_options))
system("make")
More information about the Checkins
mailing list