summaryrefslogtreecommitdiff
path: root/projects/generate
diff options
context:
space:
mode:
Diffstat (limited to 'projects/generate')
-rwxr-xr-xprojects/generate6
1 files changed, 4 insertions, 2 deletions
diff --git a/projects/generate b/projects/generate
index 2111798f0..28fd25552 100755
--- a/projects/generate
+++ b/projects/generate
@@ -190,9 +190,11 @@ load_main_data() {
load_lang_data() {
RES=""
- for i in `ls $1`
+ # Windows Folder sort and Linux Folder sort are slightly different.
+ # By removing the extension and sorting it on Linux, they are the same.
+ for i in `ls $1 | sed s~.txt$~~g | sort`
do
- i=`basename $i | sed s~.txt$~~g`
+ i=`basename $i`
if [ "$i" == "english" ]
then
continue