Switch to unified view

a b/archi2owl.sh
1
#!/bin/bash
2
set -e
3
4
5
# Save working directory
6
WD=$(pwd)
7
8
# Resolve symbolic links (with -f even multiple!)to get real path of program
9
REALPATH=$(readlink -f "$0" 2>/dev/null || true)
10
11
# Get the basedir of the programm
12
BASE_DIR=$(dirname "$REALPATH" 2>/dev/null || true)
13
14
java -jar $BASE_DIR/dist/net.timbusproject.context.archi2owl-standalone.jar "$@"
15