Make usev() strip ! prefix in echoed output as specified in bug #270658,
authorZac Medico <zmedico@gentoo.org>
Wed, 3 Jun 2009 20:37:56 +0000 (20:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 3 Jun 2009 20:37:56 +0000 (20:37 -0000)
comment #16.

svn path=/main/trunk/; revision=13628

bin/ebuild.sh

index 8446d6b6c32797d93237bc365c6cf5587b274311..01c2872ba1f8f73af56186c689f14e440419515b 100755 (executable)
@@ -122,7 +122,7 @@ use() {
 
 usev() {
        if useq ${1}; then
-               echo "${1}"
+               echo "${1#!}"
                return 0
        fi
        return 1