-
Notifications
You must be signed in to change notification settings - Fork 0
/
titokone.sh
executable file
·32 lines (27 loc) · 1.37 KB
/
titokone.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
#
# This is a startup scrip to run titokone.jar. If you change
# INSTALL_DIRECTORY to be the directory where you have located
# titokone.jar, this script can be eg. placed in your ~/bin/
# directory, so that it can be run with just 'titokone.sh'
# anywhere on the machine, provided you have ~/bin/ on your
# command path.
#
# Tämä on käynnistysskripti titokone.jarin ajamiseen. Jos muutat
# INSTALL_DIRECTORYn arvon hakemistoksi, jossa titokone.jar
# sijaitsee, voit siirtää itse skriptin minne haluat, esimerkiksi
# ~/bin/-hakemistoon, jolloin voit ajaa skriptin (vaikka uudelleen-
# nimettynä) mistä tahansa hakemistosta, kunhan ~/bin/ on
# komentopolullasi.
INSTALL_DIRECTORY=.
# Example install directory: in your home directory, in the subdirectory
# titokone: Remove # to uncomment the line below.
# INSTALL_DIRECTORY=~/titokone/
# It is not necessary to change the line below unless you are really
# turning this script into something more sophisticated.
# The additional '/' between titokone.jar and INSTALL_DIRECTORY
# exists to allow both directories with or without / in their end.
# If you wish to pass additional parameters to the command, you can just
# add them after the ./titokone.sh. For example, ./titokone.sh -vvv
# starts up titokone.jar in verbose debugging mode.
java -classpath ${INSTALL_DIRECTORY}/titokone.jar -jar ${INSTALL_DIRECTORY}/titokone.jar $@