diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-11 13:55:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-11 13:55:57 +0000 |
| commit | f5ce5c8fc22884a4f74c0461dd7ced26731ef67e (patch) | |
| tree | 09d4d98cb5e68b08a9f28428d9115167b423ed6e /run/tools/dcpdiff | |
| parent | 26bae2c8893c7d3c17d8af4e12f6a7ba24eed393 (diff) | |
Cope with being called from anywhere.
Diffstat (limited to 'run/tools/dcpdiff')
| -rwxr-xr-x | run/tools/dcpdiff | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run/tools/dcpdiff b/run/tools/dcpdiff index 0d8c8d30..0d735c69 100755 --- a/run/tools/dcpdiff +++ b/run/tools/dcpdiff @@ -1,5 +1,8 @@ #!/bin/bash +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd $DIR/../.. + export LD_LIBRARY_PATH=build/src:build/asdcplib/src:$LD_LIBRARY_PATH if [ "$1" == "--debug" ]; then shift |
