thank goodness its friday
[freeside.git] / Makefile
index f631bf1..3b3a4d0 100644 (file)
--- 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