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