Revert "Add option -s to docompress command."
authorUlrich Mueller <ulm@gentoo.org>
Mon, 20 Sep 2010 07:13:11 +0000 (09:13 +0200)
committerUlrich Mueller <ulm@gentoo.org>
Mon, 20 Sep 2010 07:13:11 +0000 (09:13 +0200)
This reverts commit f2375609adc80ebe5395d84902af4045ecea2f73.

bin/ebuild.sh

index 3be4d4565dd76af655d0f86eb11b42c0b156caea..29847c12ae30d0cff22b5f71a1a6a8d7482abe6f 100755 (executable)
@@ -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%/}