Make launch.sh cwd-independent (#1011)
This commit is contained in:
parent
9634d6ed03
commit
81ca470c0c
@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
# Required to launch correctly
|
||||||
|
|
||||||
# Required in CI to launch correctly
|
# Move to AO's directory
|
||||||
|
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||||
|
cd "${SCRIPT_DIR}"
|
||||||
|
|
||||||
|
# Run with correct linker path
|
||||||
chmod +x Attorney_Online
|
chmod +x Attorney_Online
|
||||||
LD_LIBRARY_PATH=. ./Attorney_Online
|
LD_LIBRARY_PATH=. ./Attorney_Online
|
||||||
|
Loading…
Reference in New Issue
Block a user