aboutsummaryrefslogtreecommitdiff
path: root/libraries/libhoard/libhoard.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libhoard/libhoard.SlackBuild')
-rw-r--r--libraries/libhoard/libhoard.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libhoard/libhoard.SlackBuild b/libraries/libhoard/libhoard.SlackBuild
index 69d5b2b930696..ae5c592cd5f0d 100644
--- a/libraries/libhoard/libhoard.SlackBuild
+++ b/libraries/libhoard/libhoard.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=libhoard
VERSION=${VERSION:-3.12}
HEAP_LAYERS_VERSION=${HEAP_LAYERS_VERSION:-85c0fb1ea3f6073fed579afe31da1e047d3c3a89}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}