From 2d83459c895394299a119311026745a98cc354d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20H=C3=B6hn?= Date: Tue, 28 Oct 2014 06:13:26 +0100 Subject: [PATCH] added path for www.sql, assuming it will be in the same directory as the installation script --- install_zotero.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install_zotero.sh b/install_zotero.sh index 5f39418..72e5f2c 100755 --- a/install_zotero.sh +++ b/install_zotero.sh @@ -29,6 +29,9 @@ mkdir -p /srv/zotero/log/download mkdir -p /srv/zotero/log/upload mkdir -p /srv/zotero/log/error +# save current directory +cur_dir=$(pwd) + echo "download source code of dataserver" git clone git://github.com/zotero/dataserver.git /srv/zotero/dataserver @@ -147,7 +150,7 @@ echo "Load in schema on id server" cat ids.sql | $DB zotero_ids echo "Load in www schema" -$DB zotero_www < www.sql +$DB zotero_www < $(cur_dir)www.sql echo "#################################" echo "Configuration database connection"