Revision 966 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/discours/importer.groovy

importer.groovy (revision 966)
93 93
		
94 94
		println "Trying to read metadata from: "+csvfile
95 95
		if (csvfile.exists()) {
96
			File copy = new File(binDir, "metadata.csv")
96
			File copy = new File(binDir, csvfile.getName())
97 97
			if (!FileCopy.copy(csvfile, copy)) {
98 98
				println "Error: could not create a copy of metadata file "+csvfile.getAbsoluteFile();
99 99
				return;

Also available in: Unified diff