summaryrefslogtreecommitdiffstats
path: root/build-aux/script-wrapper.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/script-wrapper.sh.in')
-rwxr-xr-xbuild-aux/script-wrapper.sh.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-aux/script-wrapper.sh.in b/build-aux/script-wrapper.sh.in
new file mode 100755
index 00000000..f87ae6f0
--- /dev/null
+++ b/build-aux/script-wrapper.sh.in
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# This script serves as a trampoline for running scripts which depend on
+# libmakepkg with the libmakepkg within the build tree.
+
+LIBRARY=@BUILDDIR@/libmakepkg exec @BASH@ -$- @REAL_PROGPATH@ "$@"