commit 8bf86b63b02c390eaad010ac0c16c38df8b6d46a parent 881d0d6702ca219d041bff76e8883193e7a41112 Author: Kyle Milz <kyle@getaddrinfo.net> Date: Mon, 4 Apr 2016 21:23:01 -0600 bin: groom citrun_wrap when installed Diffstat:
M | bin/citrun_wrap | | | 14 | +++----------- |
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/bin/citrun_wrap b/bin/citrun_wrap @@ -1,17 +1,9 @@ #!/bin/sh -script_dir=`dirname ${0}` -scv_root=`cd "$script_dir/.."; pwd` +export CITRUN_PATH="/usr/local/share/citrun" +export PATH="$CITRUN_PATH:$PATH" -if ! test -d $scv_root/src/compilers; then - echo error: compilers/ directory does not exist - exit 1 -fi - -export SCV_PATH="$scv_root/src/compilers" -export PATH="$SCV_PATH:$PATH" - -export LDFLAGS="-L$scv_root/lib" +export LDFLAGS="-L/usr/local/lib" export LDADD="-lcitrun" exec $@