From e1bd8a592d68b4150bad82501a0129c2b0b0af60 Mon Sep 17 00:00:00 2001 From: tobes Date: Mon, 15 Apr 2013 23:28:32 +0100 Subject: [PATCH] travis.py: Use psql properly --- bin/travis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/travis.py b/bin/travis.py index 92cfd8a53b1..1a0a734c741 100755 --- a/bin/travis.py +++ b/bin/travis.py @@ -30,6 +30,6 @@ def shell(arg, split_on='~'): CREATE DATABASE ckan_test_datastore WITH OWNER ckanuser; ''' -shell('psql~%s~-U~postgres' % sql) +shell('psql~-U~postgres~-c~%s' % sql) shell('psql~-U~ckanuser~ckan_test~-c~SELECT version();')