From 4e695483edb7203260523b0b757f61fb9ef07a85 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Sun, 16 Oct 2011 14:55:02 -0700 Subject: [PATCH] bug fix for developer demos --- contrib/util/installScripts/cvsDemoInstall | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/contrib/util/installScripts/cvsDemoInstall b/contrib/util/installScripts/cvsDemoInstall index 88293dfb2..eb7ba3de0 100644 --- a/contrib/util/installScripts/cvsDemoInstall +++ b/contrib/util/installScripts/cvsDemoInstall @@ -84,9 +84,13 @@ php -f $INSTTEMP development_translations=yes >> $LOG rm -f $INSTTEMP # # Run the sql_patch.php script. Note that in the main 'master' branch this will do nothing, however in the -# branches it will install the new Globals and Database modifications +# branches it will install the new Globals and Database modifications (note need to copy to TEMP file etc. +# in order to work around the site variable that is required) cd $OPENEMR -php -f sql_patch.php >> $LOG +echo "" > $OPENEMR/TEMPsql_patch.php +cat $OPENEMR/sql_patch.php >> $OPENEMR/TEMPsql_patch.php +php -f TEMPsql_patch.php >> $LOG +rm -f $OPENEMR/TEMPsql_patch.php # #reinstitute file permissions chmod 644 $OPENEMR/sites/default/sqlconf.php -- 2.11.4.GIT