mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-18 20:21:18 +00:00
fix 7z/zip decision again :(
This commit is contained in:
parent
39b629c021
commit
ad9d4b2c72
5
all
5
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()
|
||||
|
Loading…
Reference in New Issue
Block a user