aboutsummaryrefslogtreecommitdiff
path: root/games/tuxkart/tuxkart.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/tuxkart/tuxkart.SlackBuild')
-rw-r--r--games/tuxkart/tuxkart.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/tuxkart/tuxkart.SlackBuild b/games/tuxkart/tuxkart.SlackBuild
index d36e2d0f72a95..41ec1d4598e39 100644
--- a/games/tuxkart/tuxkart.SlackBuild
+++ b/games/tuxkart/tuxkart.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tuxkart
VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}