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