mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #2307 from keepassxreboot/fix/build_script_zip
Prevent build script for creating a parent folder
This commit is contained in:
commit
368117fad1
1 changed files with 1 additions and 1 deletions
2
build.js
2
build.js
|
|
@ -41,7 +41,7 @@ const updateTranslations = async () => {
|
|||
};
|
||||
|
||||
const createZipFile = async (fileName, path) => {
|
||||
await exec(`tar -a -cf ${fileName} ${path}/*`);
|
||||
await exec(`cd ${path} && tar -a -cf ../${fileName} * && cd ..`);
|
||||
};
|
||||
|
||||
(async() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue