diff options
-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="" |