From aa78f6d42c85f7f9a98a1a6273230a9775824fc7 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sun, 26 Oct 2014 17:57:12 +0300 Subject: [PATCH] Automatic Search for C/CXX/Vala files. --- update-po.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-po.sh b/update-po.sh index fc9c3ee..560449f 100755 --- a/update-po.sh +++ b/update-po.sh @@ -6,8 +6,8 @@ PO_DIR_NAME=po EXE_PATH="`readlink -f $0`" PRJ_PATH="${EXE_PATH%/*/*/*}" -C_FILELIST="${PRJ_PATH}/src/latex-struct/*.vala" -UI_FILELIST="${PRJ_PATH}/ui/*.glade" +C_FILELIST="`find ${PRJ_PATH}/src -type f -regex '.*\.\(c\|cxx\|cpp\|vala\)$'`" +#UI_FILELIST="`find ${PRJ_PATH}/ui -type f -regex '.*\.\(glade\)$'`" SOURCE_POT=source.pot GLADE_POT=glade.pot