Allow specifying python version in update_pot.sh
This commit is contained in:
parent
03fd9f1639
commit
3c80892b86
@ -1,6 +1,9 @@
|
|||||||
# run this script from the root directory to re-generate the .pot file
|
# run this script from the root directory to re-generate the .pot file
|
||||||
#
|
#
|
||||||
# ./data/po/update_pot.sh
|
# ./data/po/update_pot.sh
|
||||||
|
if [ -z "$PYTHON" ]; then
|
||||||
|
PYTHON="python"
|
||||||
|
fi
|
||||||
|
|
||||||
CPP_FILE_LIST="`find ./src \
|
CPP_FILE_LIST="`find ./src \
|
||||||
-name '*.cpp' -or \
|
-name '*.cpp' -or \
|
||||||
@ -40,7 +43,7 @@ echo "--------------------"
|
|||||||
echo $XML_FILE_LIST
|
echo $XML_FILE_LIST
|
||||||
|
|
||||||
# XML Files
|
# XML Files
|
||||||
python ./data/po/extract_strings_from_XML.py $XML_FILE_LIST
|
eval '$PYTHON ./data/po/extract_strings_from_XML.py $XML_FILE_LIST'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user