Merge pull request #2307 from keepassxreboot/fix/build_script_zip

Prevent build script for creating a parent folder
This commit is contained in:
Sami Vänttinen 2024-08-11 23:21:18 +03:00 committed by GitHub
commit 368117fad1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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() => {