aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in')
-rw-r--r--devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in b/devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in
new file mode 100644
index 000000000000..041908374ce9
--- /dev/null
+++ b/devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ %%PREFIX%% != %%LOCALBASE%% ]; then
+RUBYLIB=${RUBYLIB}:%%RUBY_SITELIBDIR%%:%%RUBY_SITEARCHLIBDIR%%
+export RUBYLIB
+fi