Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Update release.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RaniAgus committed Jan 28, 2024
1 parent 5bd84f2 commit 258aa21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ const parseMakefile = async (file) => {
}

const parseMakefileLine = async (file, line) => {
const [_, include] = line.split(/^include /);
return include ? parseMakefile(`${dirname(file)}/${include}`) : line;
const [_, include] = line.split('include ../');
return include ? $`cat ${dirname(file)}/../${include}`.text() : line;
}

await main(values);

0 comments on commit 258aa21

Please sign in to comment.