summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Serialiser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation/Serialiser.cpp')
-rw-r--r--src/serialisation/Serialiser.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index 8d88a21c..735f9788 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -47,6 +47,7 @@
#include "shared/ResourceImpl.hpp"
#include "shared/LV2URIMap.hpp"
#include "Serialiser.hpp"
+#include "names.hpp"
#define LOG(s) s << "[Serialiser] "
@@ -132,11 +133,11 @@ Serialiser::write_bundle(const Record& record)
string symbol = uri_to_symbol(record.uri);
- const string root_file = bundle_uri + symbol + ".ingen.ttl";
+ const string root_file = bundle_uri + symbol + INGEN_PATCH_FILE_EXT;
start_to_filename(root_file);
serialise(object);
finish();
- records.push_back(Record(object, bundle_uri + symbol + ".ingen.ttl"));
+ records.push_back(Record(object, bundle_uri + symbol + INGEN_PATCH_FILE_EXT));
write_manifest(bundle_uri, records);
}