X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=aca452fd3f1361dcede90d935f59d703185c2a0e;hb=b5bb1a07a26d5666cb059b5299a6ca2883f2153a;hp=8bfc56aa09e2df260f448096a642cd735de46382;hpb=d0221fabd4656b3a04251ca6168cc45f54d23574;p=freeside.git diff --git a/Makefile b/Makefile index 8bfc56aa0..aca452fd3 100644 --- a/Makefile +++ b/Makefile @@ -367,12 +367,12 @@ create-rt: configure-rt || true install-rt: - [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true - [ ${RT_ENABLED} -eq 1 ] && perl -p -i -e "\ + if [ ${RT_ENABLED} -eq 1 ]; then ( cd rt; make install ); fi + if [ ${RT_ENABLED} -eq 1 ]; then 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_PATH}/etc/RT_SiteConfig.pm; fi clean: rm -rf masondocs