[Error]Compiling using pre_qc

02/26/2016 11:40 humanforu#1
Hey all ,*
well i want to compile quest using pre_qc with make command sh make_locale i get this error*

Spoiler
make_locale: import: not found
make_locale: import: not found
make_locale: 5: Syntax error: word unexpected (expecting ")")


my Pre_qc is*
my make_locale


Thanks in Advance
03/11/2016 09:18 humanforu#2
BUMP!
03/11/2016 15:38 Lauling#3
use bash and use this script:

PHP Code:
#!/usr/local/bin/bash

LIST_FILE='locale_list'

if [ -r $LIST_FILE ]; then

    rm 
-rdf object
    mkdir object

    
while read line;
        do
            ./
qc $line
        done 
$LIST_FILE
else
    echo 
$LIST_FILE' is missing'
fi 
or with python

PHP Code:
#!/usr/local/bin/python
import os
os
.system('rm -rf object')
for 
line in file('locale_list'):
    if 
os.system('./qc ' line):
        print 
'Error occured on compile ' line
        import sys
        sys
.exit(-1