------------------------------------------------------------
revno: 1611
committer: Ravenna <rave...@ravenna-laptop>
branch nick: dhis2
timestamp: Wed 2010-03-10 21:37:15 +0100
message:
  Made script independent of folder and JAVA_HOME
modified:
  dhis-live/util/script/startup.sh


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-live/util/script/startup.sh'
--- dhis-live/util/script/startup.sh	2010-03-09 14:43:41 +0000
+++ dhis-live/util/script/startup.sh	2010-03-10 20:37:15 +0000
@@ -23,6 +23,8 @@
 
 echo "Starting DHIS2 live ..."
 # java -jar dhis2-live.jar
-$JAVA_HOME/bin/java  -jar dhis2-live.jar
+DHIS2LIVE=`dirname $0`
+#$JAVA_HOME/bin/
+java  -jar $DHIS2LIVE/dhis2-live.jar
 echo "DHIS2 live exited normally"
 

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to