From 033024598b4e925b451eb833255ebdfa31016c0d Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 29 Oct 2014 12:49:10 -0400
Subject: [PATCH] Add support for custom paths in vufindurl property.

---
 build.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index f6d637a5fa4..9813584d1fd 100644
--- a/build.xml
+++ b/build.xml
@@ -105,7 +105,8 @@
     <exec command="chmod -R a+w ${srcdir}/local/cache" />
 
     <!-- Generate basic configuration -->
-    <exec command="php ${srcdir}/install.php --use-defaults" />
+    <php expression="end(explode('/', '${vufindurl}'))" returnProperty="basepath" />
+    <exec command="php ${srcdir}/install.php --basepath=/${basepath} --non-interactive" />
 
     <!-- Activate Apache (if an apachectl path has been provided) -->
     <if>
-- 
GitLab