Comment out language_defs for not included translations
This commit is contained in:
parent
79c3a5af38
commit
e0e50ffffd
1 changed files with 7 additions and 0 deletions
|
@ -95,6 +95,13 @@ other.each { |pack|
|
|||
}
|
||||
}
|
||||
|
||||
Dir.chdir("../src/")
|
||||
|
||||
#Comment out language_def's from language.cpp
|
||||
toremove.each { |lang|
|
||||
system("sed -i -e 's/language_def(\"#{lang}/\\/\\/&/' language.cpp")
|
||||
}
|
||||
|
||||
Dir.chdir("../..")
|
||||
print "Compressing wesnoth\n"
|
||||
system("mv #{tarball} #{tarball}.old")
|
||||
|
|
Loading…
Add table
Reference in a new issue