diff options
author | 2008-08-29 00:10:26 -0400 | |
---|---|---|
committer | 2008-08-29 00:10:26 -0400 | |
commit | 3b9e6b293d24243c36760ff0fc0eaf007d7244c2 (patch) | |
tree | 0f0d9542d702c8118210d09230733efde540922d /rpm2targz | |
parent | install symlinks for all the fun targets (diff) | |
download | rpm2targz-3b9e6b293d24243c36760ff0fc0eaf007d7244c2.tar.gz rpm2targz-3b9e6b293d24243c36760ff0fc0eaf007d7244c2.tar.bz2 rpm2targz-3b9e6b293d24243c36760ff0fc0eaf007d7244c2.zip |
fix .tar.lzma suffix for rpm2tarlzma and set -S by default for rpm2tar* rather than rpm2t*v9.0.0.2g
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'rpm2targz')
-rwxr-xr-x | rpm2targz | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -67,10 +67,13 @@ case ${argv0} in rpm2tar) suffix=".tar";; rpm2tarbz2) compress="bzip2" suffix=".tar.bz2";; rpm2tbz2) compress="bzip2" suffix=".tbz2";; - rpm2tarlzma) compress="lzma" suffix=".tarlzma";; + rpm2tarlzma) compress="lzma" suffix=".tar.lzma";; rpm2tgz) compress="gzip" suffix=".tgz";; rpm2targz|*) compress="gzip" suffix=".tar.gz";; esac +case ${argv0} in + rpm2tar*) strip=true;; +esac # try to get a temp dir using progressively older/crappier methods WORKDIR="" |