From efd657d52a5dbb0b20cf4b59ed1149184f63a9c3 Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Fri, 1 Apr 2022 12:17:02 -0700 Subject: [PATCH] fix copying of files --- Makefile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.js b/Makefile.js index 881b2f8b2c8..c03ed22b25f 100644 --- a/Makefile.js +++ b/Makefile.js @@ -623,7 +623,7 @@ target.gensite = function(prereleaseVersion) { // 3. Copy docs folder to a temporary directory echo("> Copying the docs folder (Step 3)"); docFiles.forEach(filePath => { - cp("-rf", `docs/src${filePath}*`, TEMP_DIR); + cp("-rf", `docs/src${filePath}*`, `${TEMP_DIR}/${filePath}`); }); // special case (for now)