aboutsummaryrefslogtreecommitdiff
path: root/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/wavelet-denoise/wavelet-denoise.SlackBuild')
-rw-r--r--graphics/wavelet-denoise/wavelet-denoise.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/wavelet-denoise/wavelet-denoise.SlackBuild b/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
index 21f89239a3cc..d691ebf87010 100644
--- a/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
+++ b/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
@@ -4,6 +4,8 @@
# Originally written by klaatu for separate+
# Adapted to wavelet-denoise by Stefano Guidoni
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wavelet-denoise
VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}