Use sort -n to maintain a constant file order

This commit is contained in:
Benau 2018-08-21 09:50:28 +08:00
parent dc43e3d5b2
commit 1610158405

View File

@ -15,7 +15,7 @@ XML_FILE_LIST="`find ./data ../stk-assets/tracks ../stk-assets/karts \
-name 'scene.xml' -or \ -name 'scene.xml' -or \
-name '*.challenge' -or \ -name '*.challenge' -or \
-name '*.grandprix' -or \ -name '*.grandprix' -or \
-name '*.stkgui' \ -name '*.stkgui' | sort -n \
`" `"
ANGELSCRIPT_FILE_LIST="`find ./data ../stk-assets/tracks -name '*.as'`" ANGELSCRIPT_FILE_LIST="`find ./data ../stk-assets/tracks -name '*.as'`"