equal
deleted
inserted
replaced
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); |