diff --git a/scripts/archive.js b/scripts/archive.js index c0d9974b..8b8a444b 100644 --- a/scripts/archive.js +++ b/scripts/archive.js @@ -41,7 +41,7 @@ function compress(sourcePath, destPath) { 'a', '-r', destPath, - path.join('.', sourcePath, '*'), + `.${path.sep}${path.join(sourcePath, '*')}`, ]); }