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