Download this file

archi2owl.sh    16 lines (9 with data), 353 Bytes

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