buildtar (cff11abeca78aa782378401ca2800bd2194aa14e) buildtar (e4a42c82e943b97ce124539fcd7a47445b43fa0d)
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0
3
4#
5# buildtar 0.0.5
6#
7# (C) 2004-2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de>
8#

--- 14 unchanged lines hidden (view full) ---

23#
24# Figure out how to compress, if requested at all
25#
26case "${1}" in
27 dir-pkg|tar-pkg)
28 opts=
29 ;;
30 targz-pkg)
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0
3
4#
5# buildtar 0.0.5
6#
7# (C) 2004-2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de>
8#

--- 14 unchanged lines hidden (view full) ---

23#
24# Figure out how to compress, if requested at all
25#
26case "${1}" in
27 dir-pkg|tar-pkg)
28 opts=
29 ;;
30 targz-pkg)
31 opts="-I ${_GZIP}"
31 opts="-I ${KGZIP}"
32 tarball=${tarball}.gz
33 ;;
34 tarbz2-pkg)
32 tarball=${tarball}.gz
33 ;;
34 tarbz2-pkg)
35 opts="-I ${_BZIP2}"
35 opts="-I ${KBZIP2}"
36 tarball=${tarball}.bz2
37 ;;
38 tarxz-pkg)
39 opts="-I ${XZ}"
40 tarball=${tarball}.xz
41 ;;
42 *)
43 echo "Unknown tarball target \"${1}\" requested, please add it to ${0}." >&2

--- 101 unchanged lines hidden ---
36 tarball=${tarball}.bz2
37 ;;
38 tarxz-pkg)
39 opts="-I ${XZ}"
40 tarball=${tarball}.xz
41 ;;
42 *)
43 echo "Unknown tarball target \"${1}\" requested, please add it to ${0}." >&2

--- 101 unchanged lines hidden ---