# HG changeset patch # User Chris Cannam # Date 1504003956 -3600 # Node ID 5486a5848ad8e286f3b1580c4de6352c451e934e # Parent b8e5e9734526091b232e8db95f6f35667f7f3d59 Load from deploy-source root, not deployed root (consistent with check in prepare.sh) diff -r b8e5e9734526 -r 5486a5848ad8 deploy/provision.d/080-database-load.sh --- 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