Remove tar compress_flags

This commit is contained in:
q3aql 2024-07-07 17:53:09 +02:00
parent bf1e23359a
commit 3a749a4278

View File

@ -28,9 +28,7 @@ if [ "$run_mode" = loader ]; then
fi fi
pack_help() { pack_help() {
echo "Usage: $0 [-zjJn] <ELF_SRC_PATH> <DST_PATH> [ADDITIONAL_LIBS ...]" echo "$0 <ELF_SRC_PATH> <DST_PATH> [ADDITIONAL_LIBS]"
echo " -zjJ compress flag passed to tar, '-z' by default"
echo " -n pack without compress"
} }
pack() { pack() {
@ -40,14 +38,6 @@ pack() {
} }
case $1 in case $1 in
-z|-j|-J)
compress_flag=$1
shift
;;
-n)
compress_flag=''
shift
;;
-h|--help) -h|--help)
pack_help pack_help
exit 0 exit 0