aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 17:24:38 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 17:24:38 -0800
commit22f017df8a564a6cc9ff9893b2886f852946cbc5 (patch)
treedb13b80eecd1360538d1116576a760c34cf9bbb4
parent1101ad131e19b32f30b4471311da0ee287b491ef (diff)
downloadfatcat-22f017df8a564a6cc9ff9893b2886f852946cbc5.tar.gz
fatcat-22f017df8a564a6cc9ff9893b2886f852946cbc5.zip
pg_tmp: hack to find pg binaries on debian/ubuntu
-rwxr-xr-xrust/tests/pg_tmp.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/tests/pg_tmp.sh b/rust/tests/pg_tmp.sh
index cad4fc78..c7582477 100755
--- a/rust/tests/pg_tmp.sh
+++ b/rust/tests/pg_tmp.sh
@@ -39,6 +39,8 @@ while [ $# -gt 0 ]; do
shift
done
+# bnewbold: hack this in to "make it work" on debian/ubuntu
+export PATH="$PATH:/usr/lib/postgresql/9.6/bin:/usr/lib/postgresql/11/bin"
initdb -V > /dev/null || exit 1
PGVER=$(psql -V | awk '{print $NF}')