summaryrefslogtreecommitdiff
path: root/emulators/sdlmame/files/sdlmame.in
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-09-05 22:38:15 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-09-05 22:38:15 +0000
commitd6ebd6c6f8b30f4465b2a5e699261668d63f9000 (patch)
treeacc1c2ce65aeb1b69e15c7799854d050ba377118 /emulators/sdlmame/files/sdlmame.in
parent- Update to version 0.118. (diff)
- Update to version 0.118u3.
- The wrapper script additional output has been removed so programs that parse the output do not get unexpected data. Submitted by: nikow <madleser@gmx.de> (private e-mail)
Diffstat (limited to 'emulators/sdlmame/files/sdlmame.in')
-rw-r--r--emulators/sdlmame/files/sdlmame.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/emulators/sdlmame/files/sdlmame.in b/emulators/sdlmame/files/sdlmame.in
index 9a7c7215f76a..099cea29a2f8 100644
--- a/emulators/sdlmame/files/sdlmame.in
+++ b/emulators/sdlmame/files/sdlmame.in
@@ -2,14 +2,11 @@
#
# The executable needs to be run from its data directory, and needs to store
# configuration in it. We therefore mirror the data directory hierarchy in
-# ~/.cube, and create symlinks to the data files.
+# ~/.sdlmame, and create symlinks to the data files.
#
-if [ -d ~/.sdlmame ]
+if [ ! -d ~/.sdlmame ]
then
- echo "Using existing ~/.sdlmame directory."
-else
- echo "Creating ~/.sdlmame directory."
cd %%DATADIR%% || exit 1
find * -type d -exec mkdir -p ~/.sdlmame/{} \;
find * -type f -exec ln -s %%DATADIR%%/{} ~/.sdlmame/{} \; 2>/dev/null