diff options
author | Andrew Plumb <andrew@plumb.org> | 2012-02-09 15:40:15 (GMT) |
---|---|---|
committer | Andrew Plumb <andrew@plumb.org> | 2012-02-09 15:40:15 (GMT) |
commit | fd829165fd59f44d4eb380e5b0d96898ccf84921 (patch) | |
tree | ed91d63c0dabcf508ea6ba9c71a43e599e94a669 /scripts/openscad-linux | |
parent | fa5a012c7c66bec74d3903ee4462107c37407f33 (diff) | |
parent | 45e4c1012336a0b5149aa4b34763cbe0d344ba15 (diff) |
Merge branch 'master' of github.com:clothbot/openscad
Diffstat (limited to 'scripts/openscad-linux')
-rwxr-xr-x | scripts/openscad-linux | 8 |
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 "$@" |