aboutsummaryrefslogtreecommitdiff
path: root/games/hexglass/hexglass.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/hexglass/hexglass.SlackBuild')
-rw-r--r--games/hexglass/hexglass.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/hexglass/hexglass.SlackBuild b/games/hexglass/hexglass.SlackBuild
index b7d232cfb9ebe..b20f1a5c74fa4 100644
--- a/games/hexglass/hexglass.SlackBuild
+++ b/games/hexglass/hexglass.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=hexglass
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}