summaryrefslogtreecommitdiffstats
path: root/games/invasion3d/invasion3d.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/invasion3d/invasion3d.SlackBuild')
-rw-r--r--games/invasion3d/invasion3d.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/invasion3d/invasion3d.SlackBuild b/games/invasion3d/invasion3d.SlackBuild
index 76936a0336..29b840fdf1 100644
--- a/games/invasion3d/invasion3d.SlackBuild
+++ b/games/invasion3d/invasion3d.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=invasion3d
VERSION=${VERSION:-1.0.4b}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}