From 127c91d825c472e8f44cb30447987d1a4e30e9a2 Mon Sep 17 00:00:00 2001 From: Deve Date: Wed, 12 Sep 2018 22:53:58 +0200 Subject: [PATCH] Minor fix for update_pot. The "supertuxkart-assets" is supported everywhere else. --- data/po/update_pot.sh | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/data/po/update_pot.sh b/data/po/update_pot.sh index 35e810adf..8b4dfa98d 100755 --- a/data/po/update_pot.sh +++ b/data/po/update_pot.sh @@ -2,22 +2,30 @@ # # ./data/po/update_pot.sh -CPP_FILE_LIST="`find ./src \ - -name '*.cpp' -or \ - -name '*.c' -or \ - -name '*.hpp' -or \ +CPP_FILE_LIST="`find ./src \ + -name '*.cpp' -or \ + -name '*.c' -or \ + -name '*.hpp' -or \ -name "*.h" | sort -n \ `" -XML_FILE_LIST="`find ./data ../stk-assets/tracks ../stk-assets/karts \ - -name 'achievements.xml' -or \ - -name 'kart.xml' -or \ - -name 'track.xml' -or \ - -name 'scene.xml' -or \ - -name '*.challenge' -or \ - -name '*.grandprix' -or \ - -name '*.stkgui' | sort -n \ +XML_FILE_LIST="`find ./data \ + ../stk-assets/tracks \ + ../stk-assets/karts \ + ../supertuxkart-assets/tracks \ + ../supertuxkart-assets/karts \ + -name 'achievements.xml' -or \ + -name 'kart.xml' -or \ + -name 'track.xml' -or \ + -name 'scene.xml' -or \ + -name '*.challenge' -or \ + -name '*.grandprix' -or \ + -name '*.stkgui' | sort -n \ `" -ANGELSCRIPT_FILE_LIST="`find ./data ../stk-assets/tracks -name '*.as'`" +ANGELSCRIPT_FILE_LIST="`find ./data \ + ../stk-assets/tracks \ + ../supertuxkart-assets/tracks \ + -name '*.as' | sort -n \ + `" echo "--------------------" echo " Source Files :"