blob: 0f6137dd9c789871f0ecd335bab4e11c770d7d5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- pgloader_wrapper.sh.orig 2017-07-14 08:47:14 UTC
+++ pgloader_wrapper.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# There is a bug for current ccl on FreeBSD, which is determine_executable_name
+# doesn't do the job for FreeBSD. Now we use this script as a workaround. See:
+# https://github.com/Clozure/ccl/issues/38
+
+BIN_DIR="$(cd $(/usr/bin/dirname $0);pwd)"
+exec "${BIN_DIR}"/pgloader3 "${@}"
|