diff options
author | Brad Pitcher <bradpitcher@gmail.com> | 2012-02-04 21:14:35 (GMT) |
---|---|---|
committer | Andrew Plumb <andrew@plumb.org> | 2012-02-08 14:28:53 (GMT) |
commit | 45e4c1012336a0b5149aa4b34763cbe0d344ba15 (patch) | |
tree | e1b2fbfd211b994f0eeaa6c9bf82cc6bcf3d73c2 /scripts/openscad-linux | |
parent | 4bf9b8af3ea4c59d4926a4aaba879ecc6f0064f3 (diff) |
Fix linux releases
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 "$@" |