crowdin_sync: Workaround for some projects
Change-Id: Iac6aebb466ca3060a05af663e9a6da9af3b7ac4e
diff --git a/crowdin_sync.py b/crowdin_sync.py
index 8f831fb..f154787 100755
--- a/crowdin_sync.py
+++ b/crowdin_sync.py
@@ -202,7 +202,7 @@
continue
# Get project root dir from Crowdin's output by regex
- m = re.search('/(.*Superuser)/Superuser.*|/(.*LatinIME).*|/(frameworks/base).*|/(.*CMFileManager).*|/(.*CMHome).*|/(device/.*/.*)/.*/res/values.*|/(hardware/.*/.*)/.*/res/values.*|/(.*)/res/values.*', path)
+ m = re.search('/(.*Superuser)/Superuser.*|/(.*LatinIME).*|/(frameworks/base).*|/(.*CMFileManager).*|/(.*CMHome).*|/(device/.*/.*)/.*/res/values.*|/(hardware/.*/.*)/.*/res/values.*|/(.*)/res/values.*|/(.*)/res_cm/values.*|/(.*)/res_p/values.*', path)
if not m.groups():
# Regex result is empty, warn the user