changeset 1609:5486a5848ad8 deploy

Load from deploy-source root, not deployed root (consistent with check in prepare.sh)
author Chris Cannam
date Tue, 29 Aug 2017 11:52:36 +0100
parents b8e5e9734526
children c6bee0e62957
files deploy/provision.d/080-database-load.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/provision.d/080-database-load.sh	Tue Aug 29 11:50:27 2017 +0100
+++ b/deploy/provision.d/080-database-load.sh	Tue Aug 29 11:52:36 2017 +0100
@@ -9,7 +9,7 @@
 
 /etc/init.d/postgresql start
 
-cd /var/www/code
+cd "$rootdir"
 
 if [ -f postgres-dumpall ]; then
     chmod ugo+r postgres-dumpall