Skip to content

Commit

Permalink
Update fixity JSON location
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie Douglas committed Jan 5, 2021
1 parent 1af2de0 commit 70585f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/generate_fixity_manifest_lsdi
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ manifest_generator = Manifests::ManifestGeneratorSFS.new(depositor: depositor,
ingest_manifest: ingest_manifest)
manifest = manifest_generator.generate_manifest
puts JSON.pretty_generate(manifest.to_json_fixity_hash)
fixity_json = "/lsdi/data/" + sfs_location + "/fixity/" + data_path.gsub("/", "_") + '.json'
fixity_json = "/lsdi/data/fixity/fixity" + data_path.gsub("/", "_") + '.json'
puts fixity_json
File.open(fixity_json, "w") do |f|
f.write(JSON.pretty_generate(manifest.to_json_fixity_hash))
Expand Down

0 comments on commit 70585f4

Please sign in to comment.