[PATCH][Wok] Bug fix #186: make check-local fails inside tarball

I18N_FILES was pointing to i18n.py at plugins, which are not available when running wok from tar.gz. Switching to i18n present at src/wok, the code can be run. Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com> --- Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index bd7a563..2d55be3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,9 +42,7 @@ PEP8_BLACKLIST = *src/wok/plugins,*src/wok/config.py,*src/wok/i18n.py,*tests/tes SKIP_PYFLAKES_ERR = "\./src/wok/websocket\.py" -I18N_FILES = src/wok/plugins/*/i18n.py \ - src/wok/i18n.py \ - $(NULL) +I18N_FILES = src/wok/i18n.py $(NULL) check-local: PYTHONPATH=src contrib/check_i18n.py $(I18N_FILES) -- 2.7.4

Reviewed-By: Lucio Correia <luciojhc@linux.vnet.ibm.com> On 08/12/2016 10:27, Ramon Medeiros wrote:
I18N_FILES was pointing to i18n.py at plugins, which are not available when running wok from tar.gz. Switching to i18n present at src/wok, the code can be run.
Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com> --- Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am index bd7a563..2d55be3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,9 +42,7 @@ PEP8_BLACKLIST = *src/wok/plugins,*src/wok/config.py,*src/wok/i18n.py,*tests/tes
SKIP_PYFLAKES_ERR = "\./src/wok/websocket\.py"
-I18N_FILES = src/wok/plugins/*/i18n.py \ - src/wok/i18n.py \ - $(NULL) +I18N_FILES = src/wok/i18n.py $(NULL)
check-local: PYTHONPATH=src contrib/check_i18n.py $(I18N_FILES)
-- Lucio Correia Software Engineer IBM LTC Brazil
participants (3)
-
Aline Manera
-
Lucio Correia
-
Ramon Medeiros