From b8f9b3854c2f1e841aec6be499df119e0e97e1f0 Mon Sep 17 00:00:00 2001 From: Chip Black Date: Fri, 5 Jun 2009 03:04:54 -0500 Subject: [PATCH] Minor tweaks to startup script --- WebThing | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/WebThing b/WebThing index c999914..022be94 100755 --- 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 "$@" -- 2.25.1