From daf3cf729f279ee972c16073a3f87736ed52fb4a Mon Sep 17 00:00:00 2001 From: Andrea Michelotti <andrea.michelotti@lnf.infn.it> Date: Tue, 26 Jul 2016 10:17:07 +0200 Subject: [PATCH] wrapper to call ccs once installed. --- ccs/ccs.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 ccs/ccs.sh diff --git a/ccs/ccs.sh b/ccs/ccs.sh new file mode 100755 index 000000000..7a114d190 --- /dev/null +++ b/ccs/ccs.sh @@ -0,0 +1,10 @@ +#!/bin/bash +realpath=`readlink -f $0` +dir=`dirname $realpath` +os=`uname -s` +if [ "$os" == "Darwin" ];then + DYLD_LIBRARY_PATH=$dir/../lib $dir/ccs +else + LD_LIBRARY_PATH=$dir/../lib $dir/ccs +fi + -- GitLab