1
command="for x in "
2
Dir.foreach(".") { |lang|
3
 for part in ['docmessages','docs', 'messages']
4
	if(File.exists?("#{lang}/#{part}/extragear-multimedia/"))
5
		command="#{command} #{lang}/#{part}/extragear-multimedia/"
6
	end
7
 end
8
}
9
command=command+"; do svn ci -m 'Copying over the po and doc files to the stable Amarok branch' $x; "
10
command=command+"done;"
11
puts command