aboutsummaryrefslogtreecommitdiff
path: root/games/yarntown/yarntown.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/yarntown/yarntown.SlackBuild')
-rw-r--r--games/yarntown/yarntown.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/yarntown/yarntown.SlackBuild b/games/yarntown/yarntown.SlackBuild
index 3bc88173ad590..2226ebf319a70 100644
--- a/games/yarntown/yarntown.SlackBuild
+++ b/games/yarntown/yarntown.SlackBuild
@@ -22,6 +22,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=yarntown
VERSION=${VERSION:-1.0.6}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}