From d8eec5b415030da07a93ff60f8f954052a5313f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 25 Feb 2009 10:30:49 +0000
Subject: [PATCH] fix typo do not make --update_business_templates mandatory
 for --update_only

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25697 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/tests/runUnitTest.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py
index be3c05a769..628b825d43 100755
--- a/product/ERP5Type/tests/runUnitTest.py
+++ b/product/ERP5Type/tests/runUnitTest.py
@@ -69,7 +69,7 @@ Options:
   --update_only=STRING
                              Specify the list of business template to update if
                              you don't want to update them all. You can give a list
-                             delimited with commans (e.g. erp5_core,erp5_xhtml_style).
+                             delimited with commas (e.g. erp5_core,erp5_xhtml_style).
                              This can be regular expressions. 
 """
 
@@ -427,6 +427,7 @@ def main():
       os.environ["run_only"] = arg
     elif opt == "--update_only":
       os.environ["update_only"] = arg
+      os.environ["update_business_templates"] = "1"
     elif opt == "--update_business_templates":
       os.environ["update_business_templates"] = "1"
 
-- 
2.30.9