aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-06-11 07:22:17 +0100
committerChristopher Baines <mail@cbaines.net>2019-06-11 07:22:17 +0100
commitcf5dace846b2f486a386b940c5871f7068889181 (patch)
treeef8e2d0c7d9479c7642d51804dcdee2e61749ae3 /scripts
parent93fdefc7b10da46e26cf29831553d3e4bb7cc7ad (diff)
downloaddata-service-cf5dace846b2f486a386b940c5871f7068889181.tar
data-service-cf5dace846b2f486a386b940c5871f7068889181.tar.gz
Change to the sqitch directory to run deploy
As this means it can find the relevant files.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-data-service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in
index cd8985b..61e4e1c 100644
--- a/scripts/guix-data-service.in
+++ b/scripts/guix-data-service.in
@@ -72,6 +72,7 @@
(list (%config 'sqitch)
"deploy"
"--db-client" (%config 'sqitch-psql)
+ "--chdir" (dirname (%config 'sqitch-plan))
"--plan-file" (%config 'sqitch-plan)
(string-append "db:pg://"
(%config 'database-user)