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