summaryrefslogtreecommitdiffstats
path: root/games/supertux/supertux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/supertux/supertux.SlackBuild')
-rw-r--r--games/supertux/supertux.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild
index dbaaf7309b..02e49141bd 100644
--- a/games/supertux/supertux.SlackBuild
+++ b/games/supertux/supertux.SlackBuild
@@ -24,6 +24,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=supertux
VERSION=${VERSION:-0.6.2_rc.1}
SRCVERSION=$(echo $VERSION | tr _ - )
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}