summaryrefslogtreecommitdiffstats
path: root/ccache
diff options
context:
space:
mode:
Diffstat (limited to 'ccache')
-rw-r--r--ccache/post-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccache/post-install b/ccache/post-install
index 5cd377549..87705a476 100644
--- a/ccache/post-install
+++ b/ccache/post-install
@@ -1,6 +1,6 @@
if [ -f /etc/colorgcc/colorgccrc ]; then
for i in g++ gcc c++ cc; do
- sed "s|${i}:.*|${i}: ccache /usr/bin/${i}|g" -i /etc/colorgcc/colorgccrc
+ sed "s|^${i}:.*|${i}: ccache /usr/bin/${i}|g" -i /etc/colorgcc/colorgccrc
done
fi