aboutsummaryrefslogtreecommitdiff
path: root/games/opensonic/files/patch-src__misc__opensonic_launcher
diff options
context:
space:
mode:
Diffstat (limited to 'games/opensonic/files/patch-src__misc__opensonic_launcher')
-rw-r--r--games/opensonic/files/patch-src__misc__opensonic_launcher14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/opensonic/files/patch-src__misc__opensonic_launcher b/games/opensonic/files/patch-src__misc__opensonic_launcher
new file mode 100644
index 000000000000..f0938943a5b5
--- /dev/null
+++ b/games/opensonic/files/patch-src__misc__opensonic_launcher
@@ -0,0 +1,14 @@
+--- src/misc/opensonic_launcher.orig 2009-06-01 02:34:38.000000000 +1100
++++ src/misc/opensonic_launcher 2010-02-02 20:03:27.382511463 +1000
+@@ -1,9 +1,9 @@
+-#!/bin/bash
++#!/bin/sh
+ # Game Launcher
+
+ GAME_BIN="opensonic_launcher_bin"
+ PWD_DIR=`pwd`
+-GAME_DIR=`echo $0 | sed 's,^\(.*\)/\(.*\)$,\1,g'`
++GAME_DIR=%%GAME_DIR%%
+ GAME_PATH="${GAME_DIR}/${GAME_BIN}"
+
+ # Set LD_LIBRARY_PATH