aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-29 00:10:26 -0400
committerMike Frysinger <vapier@gentoo.org>2008-08-29 00:10:26 -0400
commit3b9e6b293d24243c36760ff0fc0eaf007d7244c2 (patch)
tree0f0d9542d702c8118210d09230733efde540922d /rpm2targz
parentinstall symlinks for all the fun targets (diff)
downloadrpm2targz-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-xrpm2targz5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpm2targz b/rpm2targz
index 9a0087c..b09b4dc 100755
--- a/rpm2targz
+++ b/rpm2targz
@@ -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=""