mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 20:59:29 +00:00
Comment out language_defs for not included translations
This commit is contained in:
parent
79c3a5af38
commit
e0e50ffffd
@ -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…
x
Reference in New Issue
Block a user