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