summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Welch <zwelch@gentoo.org>2003-04-18 00:15:54 +0000
committerZack Welch <zwelch@gentoo.org>2003-04-18 00:15:54 +0000
commit9d228de578dc7cc0cdacba753497a1751c47e128 (patch)
tree96229cbee1c0c3b1d83e6e4955433497abc96986 /dev-util/ccache
parentfix distcc-config to add DCCC_QUIET (diff)
downloadgentoo-2-9d228de578dc7cc0cdacba753497a1751c47e128.tar.gz
gentoo-2-9d228de578dc7cc0cdacba753497a1751c47e128.tar.bz2
gentoo-2-9d228de578dc7cc0cdacba753497a1751c47e128.zip
fix ccache-config to add CC_QUIET
Diffstat (limited to 'dev-util/ccache')
-rw-r--r--dev-util/ccache/ChangeLog5
-rw-r--r--dev-util/ccache/Manifest4
-rw-r--r--dev-util/ccache/files/ccache-config6
3 files changed, 9 insertions, 6 deletions
diff --git a/dev-util/ccache/ChangeLog b/dev-util/ccache/ChangeLog
index eaf64fd8bcae..77a034cc56ef 100644
--- a/dev-util/ccache/ChangeLog
+++ b/dev-util/ccache/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for dev-util/ccache
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.20 2003/04/11 21:16:42 zwelch Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.21 2003/04/18 00:15:51 zwelch Exp $
*ccache-2.2 (26 Feb 2003)
+ 17 Apr 2003; Zach Welch <zwelch@gentoo.org> files/ccache-config:
+ fix ccache-config to add CC_QUIET
+
11 Apr 2003; Zach Welch <zwelch@gentoo.org> ccache-2.2.ebuild:
mark all platform keywords stable
diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
index ecf5f2974379..c06cae484a22 100644
--- a/dev-util/ccache/Manifest
+++ b/dev-util/ccache/Manifest
@@ -1,4 +1,4 @@
-MD5 866a751b8cb56748b6fb7076cbcbe45f ChangeLog 3164
+MD5 bdd7830b5748160521a29b600fe1019c ChangeLog 3268
MD5 98689531dd87609657b0dda97a624eef ccache-1.9-r1.ebuild 1825
MD5 3f48aadb7745f0e83576ae961d7a0393 ccache-1.9-r2.ebuild 1628
MD5 87320e64e6fbf618761d9cce43f16686 ccache-2.1.1.ebuild 1766
@@ -8,5 +8,5 @@ MD5 7711e62922507dc2cf36bb4b4adcbe65 files/digest-ccache-1.9-r1 61
MD5 f55909c2215596543828d9a2f5aaaac1 files/digest-ccache-1.9-r2 60
MD5 fe7cbea03762b77cfac899c6ef5e6cdc files/digest-ccache-2.1.1 63
MD5 fe7cbea03762b77cfac899c6ef5e6cdc files/digest-ccache-2.1.1-r2 63
-MD5 488ca9f5cd37e8a4153d57b583a66cd3 files/ccache-config 1510
+MD5 3a5de45f5094320a0ce4eb5201506042 files/ccache-config 1554
MD5 0dfb58c5d312454e0c766c14f3d76dad files/digest-ccache-2.2 61
diff --git a/dev-util/ccache/files/ccache-config b/dev-util/ccache/files/ccache-config
index 5b64f041e633..0a4318258a2d 100644
--- a/dev-util/ccache/files/ccache-config
+++ b/dev-util/ccache/files/ccache-config
@@ -10,11 +10,11 @@
#
# Additional features to come; this provides a starting point
-# this should be getopt'd someday
+# this should be getopt'd someday (override with CC_QUIET=1)
CC_VERBOSE=1
cc_echo() {
- [ -n "${CC_VERBOSE}" ] && echo "$*"
+ [ -z "${CC_QUIET}" -a -n "${CC_VERBOSE}" ] && echo "$*"
}
###
@@ -35,7 +35,7 @@ cc_install_link() {
if [ -n "$(type -p ${1})" ]; then
# first be sure any old link is removed
- CC_VERBOSE="" cc_remove_link "${1}"
+ CC_QUIET=1 cc_remove_link "${1}"
# then create the new link
local t="/usr/lib/ccache/bin/${1}"