about summary refs log tree commit diff stats
path: root/client/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'client/trunk')
-rwxr-xr-xclient/trunk/packaging/instadisc20
1 files changed, 20 insertions, 0 deletions
diff --git a/client/trunk/packaging/instadisc b/client/trunk/packaging/instadisc new file mode 100755 index 0000000..8b8a420 --- /dev/null +++ b/client/trunk/packaging/instadisc
@@ -0,0 +1,20 @@
1#!/bin/sh
2# InstaDisc Client Loader
3#
4# Copyright 2008 Four Island
5
6PRG=$0
7
8while [ -h "$PRG" ]; do
9 ls=`ls -ld "$PRG"`
10 link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
11 if expr "$link" : '^/' 2> /dev/null >/dev/null; then
12 PRG="$link"
13 else
14 PRG="`dirname "$PRG"`/$link"
15 fi
16done
17
18progdir=`dirname "$PRG"`
19
20java -jar "$progdir/InstaDisc.jar" $*