diff -r 864a92b10cb8 -r 42e8755b3aba cwconfig.py --- a/cwconfig.py Fri Jul 20 09:31:15 2012 +0200 +++ b/cwconfig.py Fri Jul 20 09:22:51 2012 +0200 @@ -306,7 +306,10 @@ _forced_mode = os.environ.get('CW_MODE') assert _forced_mode in (None, 'system', 'user') -CWDEV = exists(join(CW_SOFTWARE_ROOT, '.hg')) +# CWDEV tells whether directories such as i18n/, web/data/, etc. (ie containing +# some other resources than python libraries) are located with the python code +# or as a 'shared' cube +CWDEV = exists(join(CW_SOFTWARE_ROOT, 'i18n')) try: _INSTALL_PREFIX = os.environ['CW_INSTALL_PREFIX']