1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-08 11:51:48 +00:00

PoC: use 7z instead of tar.

This commit is contained in:
Pablo Curiel 2021-08-03 03:15:06 -04:00
parent 230e3d2cee
commit 3f16e3f835
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -12,6 +12,7 @@ host/nxdumptool
*.pfs0
*.lst
*.tar.bz2
*.7z
*.log
*.spec
*.exe

View file

@ -1,9 +1,9 @@
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")"
tar_filename="nxdumptool-rewrite_poc_$(git rev-parse --short HEAD).tar.bz2"
archive_filename="nxdumptool-rewrite_poc_$(git rev-parse --short HEAD).7z"
rm -f ./*.tar.bz2
rm -f ./*.7z
rm -rf ./code_templates/tmp
mkdir ./code_templates/tmp
@ -41,7 +41,7 @@ done
make clean_all
cd ./code_templates/tmp
tar -cjf ../../$tar_filename *
7z a ../../$archive_filename *
cd ../..
rm -f ./source/main.c