ebuild.sh: don't hardcode distcc pump path
authorJeremy Murphy <jeremy.william.murphy@gmail.com>
Thu, 9 Jun 2011 14:34:35 +0000 (07:34 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 9 Jun 2011 14:34:35 +0000 (07:34 -0700)
bin/ebuild.sh

index 37a30848106b03098f6a0fc7d2e77b8fc7804212..9ca41a62a379a0ba674d834aef50f8f5fa5cb18e 100755 (executable)
@@ -1073,8 +1073,8 @@ dyn_compile() {
 
        if hasq distcc $FEATURES && hasq distcc-pump $FEATURES ; then
                if [[ -z $INCLUDE_SERVER_PORT ]] || [[ ! -w $INCLUDE_SERVER_PORT ]] ; then
-                       eval $(/usr/bin/pump --startup)
-                       trap "/usr/bin/pump --shutdown" EXIT
+                       eval $(pump --startup)
+                       trap "pump --shutdown" EXIT
                fi
        fi