Skip to content

Commit b9c7b91

Browse files
committed
Tempfile in folder next to js folder
1 parent 0b187b6 commit b9c7b91

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/md2html/build-src.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
# run this script from the root of the repo
66

7-
mkdir -p deploy-preview
7+
mkdir -p deploy-preview/temp
88
mkdir -p deploy-preview/js
99

1010
cp -p node_modules/respec/builds/respec-w3c.* deploy-preview/js/
1111

1212
cd scripts/md2html
1313

1414
filename=src/oas.md
15-
tempfile=../../deploy-preview/oas-temp.html
15+
tempfile=../../deploy-preview/temp/oas.html
1616
echo "=== ${filename} ==="
1717

1818
node md2html.js --maintainers ../../EDITORS.md ../../${filename} > $tempfile
@@ -22,4 +22,5 @@ rm $tempfile
2222
echo Built deploy-preview/oas.html
2323
echo
2424

25-
rm ../../deploy-preview/js/respec-w3c.*
25+
rm -r ../../deploy-preview/js
26+
rmdir ../../deploy-preview/temp

0 commit comments

Comments
 (0)