more tweaks for EG make check
authorJason Etheridge <jason@esilibrary.com>
Fri, 9 Aug 2013 08:07:51 +0000 (04:07 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 9 Aug 2013 08:07:51 +0000 (04:07 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
installer/wheezy/eg_wheezy_installer.sh

index ae438b3..00aaeb3 100755 (executable)
@@ -17,6 +17,7 @@
 DOJO_VERSION='1.3.3';
 
 export PATH=/openils/bin:$PATH
+export LD_LIBRARY_PATH=/openils/lib:/usr/local/lib:/usr/local/lib/dbd:$LD_LIBRARY_PATH
 
 # -----------------------------------------------------------------------
 # Change to suit...
@@ -166,8 +167,6 @@ echo Return Value = $?
 echo End of OpenSRF build tests =~-._
 make install
 
-export PATH=/openils/bin:$PATH
-
 # Build and install the ILS
 OSRF_COMMAND='
 export PATH=/openils/bin:$PATH
@@ -175,14 +174,15 @@ cd /home/opensrf/Evergreen;
 autoreconf -i;
 ./configure --prefix=/openils --sysconfdir=/openils/conf;
 make;
+'
+
+su - opensrf sh -c "$OSRF_COMMAND"
+cd /home/opensrf/Evergreen
 echo _.-~= Running Evergreen build tests
 make check
 echo Return Value = $?
 echo End of Evergreen build tests =~-._
-'
 
-su - opensrf sh -c "$OSRF_COMMAND"
-cd /home/opensrf/Evergreen
 make install
 
 cp /openils/conf/opensrf.xml.example      /openils/conf/opensrf.xml