summaryrefslogtreecommitdiff
path: root/haskell/haskell-hxt-charproperties/haskell-hxt-charproperties.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-hxt-charproperties/haskell-hxt-charproperties.SlackBuild')
-rw-r--r--haskell/haskell-hxt-charproperties/haskell-hxt-charproperties.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/haskell/haskell-hxt-charproperties/haskell-hxt-charproperties.SlackBuild b/haskell/haskell-hxt-charproperties/haskell-hxt-charproperties.SlackBuild
index 525ab6a0c8..3e1a7fa725 100644
--- a/haskell/haskell-hxt-charproperties/haskell-hxt-charproperties.SlackBuild
+++ b/haskell/haskell-hxt-charproperties/haskell-hxt-charproperties.SlackBuild
@@ -23,6 +23,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=haskell-hxt-charproperties
VERSION=${VERSION:-9.2.0.1}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}