summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Morper <thomas@beingboiled.info>2012-09-15 18:11:33 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:45:35 -0400
commit0150341f38a914dd1bfaed0af6c52eee314d2d19 (patch)
treef0a70efd4ea1e3cedc66cb22d6a4868de9b632db
parenteb678e3cb86cced2ffaa9df3ead9700f132c3af6 (diff)
downloadslackbuilds-0150341f38a914dd1bfaed0af6c52eee314d2d19.tar.gz
games/openttd: changed filenames to avoid bug in "rename"
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--games/openttd/openttd.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild
index 6fffcd13c0..5b5d2841f1 100644
--- a/games/openttd/openttd.SlackBuild
+++ b/games/openttd/openttd.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=openttd
VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
OPENGFX=0.4.4
@@ -103,9 +103,9 @@ make install DEST_DIR=$PKG
# Copy opengfx, opensfx, and openmsx files if OPENDATA=YES
if [ "$OPENDATA" == "YES" ]; then
# First rename some text files to avoid name collisions when copied
- rename .txt -opengfx.txt opengfx-$OPENGFX/*
- rename .txt -opensfx.txt opensfx-$OPENSFX/*
- rename .txt -openmsx.txt openmsx-$OPENMSX/*
+ rename .txt _opengfx.txt opengfx-$OPENGFX/*
+ rename .txt _opensfx.txt opensfx-$OPENSFX/*
+ rename .txt _openmsx.txt openmsx-$OPENMSX/*
# Now copy the data files
mkdir $PKG/usr/share/games/openttd/data/
mkdir $PKG/usr/share/games/openttd/gm/