commit:b8f9b3854c2f1e841aec6be499df119e0e97e1f0
author:Chip Black
committer:Chip Black
date:Fri Jun 5 03:04:54 2009 -0500
parents:59c54a6d56a8e161b527c980e2cb468bcf54f371
Minor tweaks to startup script
diff --git a/WebThing b/WebThing
line changes: +6/-4
index c999914..022be94
--- a/WebThing
+++ b/WebThing
@@ -1,9 +1,11 @@
 #!/bin/sh
 
-cd `dirname "$0"`
+WEBTHING_HOME=`dirname "$0"`
 
-export LD_LIBRARY_PATH=plugins:$LD_LIBRARY_PATH
+# We change directories because we don't have a proper configuration
+# architecture, yet.
+cd "$WEBTHING_HOME"
 
-echo $LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$WEBTHING_HOME:$WEBTHING_HOME/plugins:$LD_LIBRARY_PATH
 
-exec mono main.exe "$@"
+exec mono $WEBTHING_HOME/main.exe "$@"