summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-25 09:47:05 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-26 00:00:44 -0500
commit4e4f34dc4776be06262e69de211523f39be9e4e2 (patch)
tree00bcf500415267980d7959ed96fd8190a34b1ded /games
parent4974e2113469883343f64ed33e7fb5f9523628fb (diff)
downloadslackbuilds-4e4f34dc4776be06262e69de211523f39be9e4e2.tar.gz
games/rejoystick: Fix sourcing of version.mk for real.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/rejoystick/rejoystick.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/rejoystick/rejoystick.SlackBuild b/games/rejoystick/rejoystick.SlackBuild
index 8f00386fb7..841813cda5 100644
--- a/games/rejoystick/rejoystick.SlackBuild
+++ b/games/rejoystick/rejoystick.SlackBuild
@@ -53,9 +53,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# We source ourself version.mk
-sed -i "s|^\.\ version\.mk||" configure
-. $CWD/$PRGNAM-$VERSION/version.mk
+# Specify the path to the version.mk file inside of the configure script
+sed -i "s|^\.\ version\.mk|. ./version.mk|" configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \