From ad9d4b2c72a3532bca59b988ceb10b7601b49de6 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 16 Sep 2010 09:04:52 +0200 Subject: [PATCH] fix 7z/zip decision again :( --- all | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/all b/all index 71e99715..41040a12 100755 --- a/all +++ b/all @@ -277,9 +277,10 @@ mkzip() archive=$1 shift ziplist=`mktemp` - find "$@" -xtype f \( -type f -not -executable \) -print > "$ziplist"; 7za a -tzip -mx=9 -i@"$ziplist" "$archive" || true + find "$@" -xtype f \( -executable -or -type l \) -print > "$ziplist" + 7za a -tzip -mx=9 -x@"$ziplist" "$archive" || true + zip -9y -@<"$ziplist" "$archive" || true rm -f "$ziplist" - find "$@" -xtype f \( -not \( -type f -not -executable \) \) -print | zip -9y -@ "$archive" || true } mkzip0() -- 2.39.2