From: ivan Date: Sun, 3 Jan 2010 02:54:42 +0000 (+0000) Subject: fix RT_SiteConfig.pm substitution X-Git-Tag: freeside_1_9_2~138 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=b0cfa107afc1e75b94de0d1de3206d324a9372ef;p=freeside.git fix RT_SiteConfig.pm substitution --- 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