From b0cfa107afc1e75b94de0d1de3206d324a9372ef Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 3 Jan 2010 02:54:42 +0000 Subject: [PATCH] fix RT_SiteConfig.pm substitution --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index add0dc20a..34e3fdd1e 100644 --- a/Makefile +++ b/Makefile @@ -361,12 +361,12 @@ create-rt: configure-rt || true install-rt: - perl -p -i -e "\ + [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true + [ ${RT_ENABLED} -eq 1 ] && perl -p -i -e "\ s'%%%RT_DOMAIN%%%'${RT_DOMAIN}'g;\ s'%%%RT_TIMEZONE%%%'${RT_TIMEZONE}'g;\ s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\ " ${RT_PATH}/etc/RT_SiteConfig.pm - [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true clean: rm -rf masondocs -- 2.11.0