aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-zlib/haskell-zlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-zlib/haskell-zlib.SlackBuild')
-rw-r--r--haskell/haskell-zlib/haskell-zlib.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/haskell/haskell-zlib/haskell-zlib.SlackBuild b/haskell/haskell-zlib/haskell-zlib.SlackBuild
index 75cde44507c1..221eb179bb94 100644
--- a/haskell/haskell-zlib/haskell-zlib.SlackBuild
+++ b/haskell/haskell-zlib/haskell-zlib.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-zlib
VERSION=${VERSION:-0.6.2}
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}