diff options
author | Ulrich Mueller <ulm@gentoo.org> | 2010-09-20 09:13:11 +0200 |
---|---|---|
committer | Ulrich Mueller <ulm@gentoo.org> | 2010-09-20 09:13:11 +0200 |
commit | 891b8ab92137a1a711f3295e63fe6a7fb9f09b26 (patch) | |
tree | 07bf5efd9f8228f725537f4788760b197ea0dc19 | |
parent | 4bc78ab0b563697b98527eebcdfe474863383cf0 (diff) | |
download | portage-891b8ab92137a1a711f3295e63fe6a7fb9f09b26.tar.gz portage-891b8ab92137a1a711f3295e63fe6a7fb9f09b26.tar.bz2 portage-891b8ab92137a1a711f3295e63fe6a7fb9f09b26.zip |
Revert "Add option -s to docompress command."
This reverts commit f2375609adc80ebe5395d84902af4045ecea2f73.
-rwxr-xr-x | bin/ebuild.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 3be4d4565..29847c12a 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -894,13 +894,7 @@ docompress() { hasq "${EAPI}" 0 1 2 3 && die "'docompress' not supported in this EAPI" local f g - if [[ $1 = "-s" ]]; then - if [[ $# -ne 1 ]]; then - helpers_die "${FUNCNAME[0]}: -s takes no additional arguments" - return 1 - fi - ecompress --suffix - elif [[ $1 = "-x" ]]; then + if [[ $1 = "-x" ]]; then shift for f; do f=$(strip_duplicate_slashes "${f}"); f=${f%/} |