summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ccache')
-rw-r--r--dev-util/ccache/ccache-3.5-r1.ebuild (renamed from dev-util/ccache/ccache-3.5.ebuild)4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/ccache/ccache-3.5.ebuild b/dev-util/ccache/ccache-3.5-r1.ebuild
index e2a525cad94a..d1a32f96e906 100644
--- a/dev-util/ccache/ccache-3.5.ebuild
+++ b/dev-util/ccache/ccache-3.5-r1.ebuild
@@ -66,13 +66,13 @@ ccache now supports sys-devel/clang and dev-lang/icc, too!"
}
pkg_prerm() {
- if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]] ; then
+ if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
eselect compiler-shadow remove ccache
fi
}
pkg_postinst() {
- if [[ ${ROOT} == / ]]; then
+ if [[ ${ROOT:-/} == / ]]; then
eselect compiler-shadow update ccache
fi