summaryrefslogtreecommitdiff
path: root/community/freecol/fc.sh
blob: 0ce3dac3a70e7a29f058b39c5e4d01929272e1c7 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

FC_PATH=/usr/share/java/freecol
LOG_PATH=/tmp/freecol

[ ! -d "$LOG_PATH" ] && install -dm755 $LOG_PATH
cd $LOG_PATH
java -Xmx256M -jar $FC_PATH/FreeCol.jar "$@" --freecol-data $FC_PATH/data \
  &> ./messages.log