From f2f7b6db0fd73eee7d653f302c2c420248d650bf Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 22 Dec 2020 20:50:52 +1100 Subject: [PATCH] only tar executable files --- scripts/xcompile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/xcompile.sh b/scripts/xcompile.sh index 81485328..c34a4c94 100755 --- a/scripts/xcompile.sh +++ b/scripts/xcompile.sh @@ -11,7 +11,7 @@ rhash -r -a . -o checksums rhash --list-hashes > checksums_hashes_order -find . | xargs -I {} tar czvf {}.tar.gz {} +find . -perm +111 -type f | xargs -I {} tar czvf {}.tar.gz {} rm checksums_hashes_order.tar.gz rm checksums.tar.gz