Skip to content

Commit

Permalink
fixing broken logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jscancella committed Mar 17, 2016
1 parent 4c986de commit 49f6c27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static void writePayloadFiles(Set<Manifest> payloadManifests, Path output
for(Path payloadFile : payloadManifest.getFileToChecksumMap().keySet()){
Path relativePayloadPath = bagRootDir.relativize(payloadFile);

Path writeToPath = bagRootDir.resolve(relativePayloadPath);
Path writeToPath = outputDir.resolve(relativePayloadPath);
logger.debug("Writing payload file [{}] to [{}]", payloadFile, writeToPath);
Path parent = writeToPath.getParent();
if(parent != null){
Expand Down

0 comments on commit 49f6c27

Please sign in to comment.