summarylogtreecommitdiffstats
path: root/eagle.sh
diff options
context:
space:
mode:
authorMichael Lass2020-03-15 09:15:07 +0100
committerMichael Lass2020-03-15 09:15:07 +0100
commitb71f332d1468fafcac209f46473800f125620148 (patch)
tree4bdef30ce186f262e2d0a56c5770205c95c9acc7 /eagle.sh
parentc70af11651bbf774cc3f90e6cf54c81587c47a13 (diff)
downloadaur-b71f332d1468fafcac209f46473800f125620148.tar.gz
Add launch script setting LD_LIBRARY_PATH
Diffstat (limited to 'eagle.sh')
-rwxr-xr-xeagle.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/eagle.sh b/eagle.sh
new file mode 100755
index 000000000000..6fd814e5e2b9
--- /dev/null
+++ b/eagle.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# eagle requires its own supplied shared libraries. For users having
+# set LD_LIBRARY_PATH, we need to extend it by /opt/eagle/lib.
+if [ -n $LD_LIBRARY_PATH ]; then
+ export LD_LIBRARY_PATH=/opt/eagle/lib:$LD_LIBRARY_PATH
+fi
+
+/opt/eagle/eagle "$@"