From 78492322557a8a04dc21e0986269b165d57d4149 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 22 Dec 2020 10:25:15 +1100 Subject: [PATCH] tar files to keep permissions of exectuable --- scripts/xcompile.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/xcompile.sh b/scripts/xcompile.sh index 2d3a198a..9ee28855 100755 --- a/scripts/xcompile.sh +++ b/scripts/xcompile.sh @@ -13,12 +13,12 @@ rhash -r -a . -P -o checksums rhash --list-hashes > checksums_hashes_order -gzip -k --best * +find . | xargs -I {} tar czvf {}.tar.gz {} -rm checksums_hashes_order.gz -rm checksums.gz -rm yq_windows_386.exe.gz -rm yq_windows_amd64.exe.gz +rm checksums_hashes_order.tar.gz +rm checksums.tar.gz +rm yq_windows_386.exe.tar.gz +rm yq_windows_amd64.exe.tar.gz zip yq_windows_386.zip yq_windows_386.exe zip yq_windows_amd64.zip yq_windows_amd64.exe \ No newline at end of file