configure
changeset 5555 f1c050be9cf8
parent 5486 ae4bc84abf24
child 5558 4bceae3ff866
equal deleted inserted replaced
5554:49c032cbe21d 5555:f1c050be9cf8
    60 	echo "Languages not found in $LANG_DIR. Can't continue without it."
    60 	echo "Languages not found in $LANG_DIR. Can't continue without it."
    61 	echo "Please make sure the dir exists and contains at least english.txt"
    61 	echo "Please make sure the dir exists and contains at least english.txt"
    62 fi
    62 fi
    63 
    63 
    64 # Read the source.list and process it
    64 # Read the source.list and process it
    65 SRCS="`cat $ROOT_DIR/source.list | tr '\r' '\n' | awk '
    65 SRCS="`< $ROOT_DIR/source.list tr '\r' '\n' | awk '
    66 	{  }
    66 	{  }
    67 	/^(	*)#end/  { if (deep == skip) { skip -= 1; } deep -= 1; next; }
    67 	/^(	*)#end/  { if (deep == skip) { skip -= 1; } deep -= 1; next; }
    68 	/^(	*)#else/ { if (deep == skip) { skip -= 1; } else if (deep - 1 == skip) { skip += 1; } next; }
    68 	/^(	*)#else/ { if (deep == skip) { skip -= 1; } else if (deep - 1 == skip) { skip += 1; } next; }
    69 	/^(	*)#if/   {
    69 	/^(	*)#if/   {
    70 		gsub("	", "", $0);
    70 		gsub("	", "", $0);