summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2020-05-23 19:28:13 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-26 11:33:10 -0700
commit3f54af2ca6c0d728b60d5ae757d761c03192bcac (patch)
treed39bad57c404350bcfc05dc77dcedeebcae3c4ed
parent0acf8721d37d17e6d5a3151796733ac0c58f8a99 (diff)
downloadsubsurface-3f54af2ca6c0d728b60d5ae757d761c03192bcac.tar.gz
Print correct template name on CSV export
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
-rw-r--r--core/import-csv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/import-csv.c b/core/import-csv.c
index 8d6f0bcf0..db7754c87 100644
--- a/core/import-csv.c
+++ b/core/import-csv.c
@@ -336,7 +336,7 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
fprintf(stderr, "(echo '<csv>'; cat %s;echo '</csv>') | xsltproc ", filename);
for (i=0; params[i]; i+=2)
fprintf(stderr, "--stringparam %s %s ", params[i], params[i+1]);
- fprintf(stderr, "%s/xslt/csv2xml.xslt -\n", SUBSURFACE_SOURCE);
+ fprintf(stderr, "%s/xslt/%s -\n", SUBSURFACE_SOURCE, csvtemplate);
}
#endif
ret = parse_xml_buffer(filename, mem.buffer, mem.size, table, trips, sites, (const char **)params);