blob: 474dff4628803ddbc88ff99baa40416f4849ff90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- ember.orig Tue Sep 27 22:04:31 2005
+++ ember Wed Oct 12 17:32:30 2005
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
@@ -40,8 +40,9 @@
# Setup variables
#get the dir where this script resides in
-path=`FindPath`
-test=${path[0]}
+set -- $(FindPath)
+path=$*
+test=$1
#if [ "$fullpath" = "" ]; then
if [ "$test" = "." ]; then
path=${PWD}
@@ -77,12 +78,12 @@
# See if Updater exists in home dir
if [ ! -e $homedata/$WFUT_JAR ] ; then
# Check to see if its in the install dir
- if [ -e $datadir/$WFUT_JAR ] ; then
+ if [ -e $bindir/$WFUT_JAR ] ; then
# Install into home dir
echo "Installing Updater"
# Copy WFUT to home dir
- cp $datadir/$WFUT_JAR $homedata
+ cp $bindir/$WFUT_JAR $homedata
fi
fi
@@ -124,5 +125,6 @@
# Execute real ember binary
echo "Starting Ember...."
#we have to do the LD_PRELOAD thing, because else at least I get an error: libnvidia-tls.so.1: cannot handle TLS data /ehj
-LD_PRELOAD=libGL.so.1 $bindir/ember.bin --binrelocloading
-
+[ ! -f $homedata/plugins.cfg ] && cp $etcdir/plugins.cfg $homedata/
+[ ! -f $homedata/resources.cfg ] && cp $etcdir/resources.cfg $homedata/
+LD_PRELOAD=libGL.so.1 $bindir/ember.bin
|