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