projects
/
WebThing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rearrange initialization to be clearer and shorter
[WebThing.git]
/
WebThing
diff --git
a/WebThing
b/WebThing
index
c999914
..
1f48064
100755
(executable)
--- a/
WebThing
+++ b/
WebThing
@@
-1,9
+1,11
@@
#!/bin/sh
#!/bin/sh
-
cd
`dirname "$0"`
+
export 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"
-e
cho
$LD_LIBRARY_PATH
+e
xport LD_LIBRARY_PATH=$WEBTHING_HOME:$WEBTHING_HOME/plugins:
$LD_LIBRARY_PATH
-exec mono
m
ain.exe "$@"
+exec mono
$WEBTHING_HOME/WebThingM
ain.exe "$@"