summaryrefslogtreecommitdiffstats
path: root/postfix-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'postfix-env.sh')
-rw-r--r--postfix-env.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/postfix-env.sh b/postfix-env.sh
new file mode 100644
index 0000000..35f3175
--- /dev/null
+++ b/postfix-env.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Run a program with the new shared libraries instead of the installed ones.
+
+LD_LIBRARY_PATH=`pwd`/lib DYLD_LIBRARY_PATH=`pwd`/lib exec "$@"