mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 18:26:39 +00:00
PoC: use 7z instead of tar.
This commit is contained in:
parent
230e3d2cee
commit
3f16e3f835
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,6 +12,7 @@ host/nxdumptool
|
||||||
*.pfs0
|
*.pfs0
|
||||||
*.lst
|
*.lst
|
||||||
*.tar.bz2
|
*.tar.bz2
|
||||||
|
*.7z
|
||||||
*.log
|
*.log
|
||||||
*.spec
|
*.spec
|
||||||
*.exe
|
*.exe
|
||||||
|
|
6
build.sh
6
build.sh
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
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
|
rm -rf ./code_templates/tmp
|
||||||
mkdir ./code_templates/tmp
|
mkdir ./code_templates/tmp
|
||||||
|
@ -41,7 +41,7 @@ done
|
||||||
make clean_all
|
make clean_all
|
||||||
|
|
||||||
cd ./code_templates/tmp
|
cd ./code_templates/tmp
|
||||||
tar -cjf ../../$tar_filename *
|
7z a ../../$archive_filename *
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
rm -f ./source/main.c
|
rm -f ./source/main.c
|
||||||
|
|
Loading…
Reference in a new issue