X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=3b3a4d003dbce1165b70fa63aca09a64329595fa;hp=f631bf1b7224e020ba499a467d4214408a7729cc;hb=71cdb6ad901465cdc9326cfc3d3650f3aabda5aa;hpb=9253dd9fd2a67d99b0de171eda9f614ec6815639 diff --git a/Makefile b/Makefile index f631bf1b7..3b3a4d003 100644 --- a/Makefile +++ b/Makefile @@ -213,7 +213,7 @@ configure-rt: create-rt: configure-rt cd rt; make install echo -e "${DB_PASSWORD}\n\\d sessions"\ - | psql -UW ${DB_USER} freeside 2>&1\ + | psql -U ${DB_USER} -W freeside 2>&1\ | grep '^Did not find'\ && rt/sbin/rt-setup-database --dba '${DB_USER}' \ --dba-password '${DB_PASSWORD}' \ @@ -228,7 +228,7 @@ create-rt: configure-rt " ${RT_PATH}/etc/RT_SiteConfig.pm install-rt: - [ ${RT_ENABLED} ] && cd rt; make install + [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true clean: rm -rf aspdocs masondocs