aboutsummaryrefslogtreecommitdiff
path: root/libraries/FreeImage/FreeImage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/FreeImage/FreeImage.SlackBuild')
-rw-r--r--libraries/FreeImage/FreeImage.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/FreeImage/FreeImage.SlackBuild b/libraries/FreeImage/FreeImage.SlackBuild
index 613a9155626f7..a2983b6087205 100644
--- a/libraries/FreeImage/FreeImage.SlackBuild
+++ b/libraries/FreeImage/FreeImage.SlackBuild
@@ -4,6 +4,8 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
# Taken over in 2011 by Alan Alberghini <414N@slacky.it>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FreeImage
VERSION=${VERSION:-3.18.0}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}