add the license in root dir
[fanfix.git] / justify
CommitLineData
3cde28f9
NR
1#!/bin/sh
2NAME=nikiroo-utils.jar
3
4jar="$NAME"
5if [ ! -e "$jar" ]; then
6 jar="`dirname "$0"`/$NAME"
7fi
8
9if [ ! -e "$jar" ]; then
10 jar="`whereis "$NAME" | sed 's: :\n:g' | grep "$NAME" | head -n1`"
11fi
12
13if [ ! -e "$jar" ]; then
14 echo "$NAME not found." >&2
15 exit 1
16fi
17
18exec java -cp "$jar" be.nikiroo.utils.main.justify "$@"
19