summaryrefslogtreecommitdiff
path: root/scripts/openscad-linux
diff options
context:
space:
mode:
authorAndrew Plumb <andrew@plumb.org>2012-02-09 15:40:15 (GMT)
committerAndrew Plumb <andrew@plumb.org>2012-02-09 15:40:15 (GMT)
commitfd829165fd59f44d4eb380e5b0d96898ccf84921 (patch)
treeed91d63c0dabcf508ea6ba9c71a43e599e94a669 /scripts/openscad-linux
parentfa5a012c7c66bec74d3903ee4462107c37407f33 (diff)
parent45e4c1012336a0b5149aa4b34763cbe0d344ba15 (diff)
Merge branch 'master' of github.com:clothbot/openscad
Diffstat (limited to 'scripts/openscad-linux')
-rwxr-xr-xscripts/openscad-linux8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/openscad-linux b/scripts/openscad-linux
new file mode 100755
index 0000000..1246199
--- /dev/null
+++ b/scripts/openscad-linux
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+cd "$( dirname "$( type -p $0 )" )"
+libdir=$PWD/../lib/openscad/
+cd "$OLDPWD"
+
+export LD_LIBRARY_PATH="$libdir${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
+exec $libdir/openscad "$@"
contact: Jan Huwald // Impressum