From 3f16e3f8358d69c93950043c671a01c37518f80e Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Tue, 3 Aug 2021 03:15:06 -0400 Subject: [PATCH] PoC: use 7z instead of tar. --- .gitignore | 1 + build.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e7f200f..f7724c3 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ host/nxdumptool *.pfs0 *.lst *.tar.bz2 +*.7z *.log *.spec *.exe diff --git a/build.sh b/build.sh index 19e0c46..cdeed17 100644 --- a/build.sh +++ b/build.sh @@ -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