aboutsummaryrefslogtreecommitdiff
path: root/games/0ad-data/0ad-data.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/0ad-data/0ad-data.SlackBuild')
-rw-r--r--games/0ad-data/0ad-data.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/0ad-data/0ad-data.SlackBuild b/games/0ad-data/0ad-data.SlackBuild
index 1c7b56113e04..7bb3cbcee044 100644
--- a/games/0ad-data/0ad-data.SlackBuild
+++ b/games/0ad-data/0ad-data.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=0ad-data
DATANAM=0ad
VERSION=${VERSION:-0.0.24b}
@@ -32,7 +34,6 @@ ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}