Files
Sourcetrail/setup/Linux/Coati.sh
T
Andreas Stallinger 7655d43299 build: Linux package(.deb)
.deb package file for debian distros like ubuntu
To create the package use the command: ninja package
in the build directory
2015-04-21 12:01:06 +02:00

17 lines
283 B
Bash

#!/bin/sh
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
echo $dirname
tmp="${dirname#?}"
echo $tmp
if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
echo $dirname
fi
LD_LIBRARY_PATH=$dirname/lib
export LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
$dirname/$appname