Skip to content

Commit eb61020

Browse files
committed
fix macos
1 parent 88d462b commit eb61020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/mcmanifest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ otadata, data, ota, , ${OTADATA_SIZE},`;
714714
}
715715

716716
for (var result of tool.jsFiles) {
717-
var source = result.source.replaceAll("#", tool.escapedHash);
717+
var source = result.source;
718718
// var sourceParts = tool.splitPath(source);
719719
var target = result.target;
720720
var targetParts = tool.splitPath(target);
@@ -727,6 +727,7 @@ otadata, data, ota, , ${OTADATA_SIZE},`;
727727
options += " -c";
728728

729729
if (tool.platform == "zephyr") {
730+
source = result.source.replaceAll("#", tool.escapedHash);
730731
var output = "${MODULES_DIR}" + tool.slash + target.replaceAll("#", tool.escapedHash);
731732
var outputPath = output.slice(0, output.lastIndexOf("/"));
732733
if (tool.platform == "zephyr") {

0 commit comments

Comments
 (0)