summaryrefslogtreecommitdiff
path: root/python/htmlmin
diff options
context:
space:
mode:
Diffstat (limited to 'python/htmlmin')
-rw-r--r--python/htmlmin/htmlmin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/htmlmin/htmlmin.SlackBuild b/python/htmlmin/htmlmin.SlackBuild
index 07dda63df8..256ff22832 100644
--- a/python/htmlmin/htmlmin.SlackBuild
+++ b/python/htmlmin/htmlmin.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=htmlmin
VERSION=${VERSION:-0.1.10}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}