Permalink
Browse files

Add a wrapper shell script

* use a config file and stats file for each user
  • Loading branch information...
1 parent e89636a commit c28150808db6a74c6d46067bd527ea88d22d1aa5 @solsticedhiver committed Apr 3, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 brainworkshop.sh
View
11 brainworkshop.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+BRW_DIR=$HOME/.brainworkshop
+if [ ! -d $BRW_DIR ] ;then
+ mkdir $BRW_DIR
+fi
+
+BRW_CONFIGFILE=$BRW_DIR/config
+BRW_STATFILE=$BRW_DIR/stats
+
+exec python2 /usr/share/brainworkshop/brainworkshop.pyw --configfile $BRW_CONFIGFILE --statsfile $BRW_STATFILE

0 comments on commit c281508

Please sign in to comment.