aboutsummaryrefslogtreecommitdiff
path: root/system/wqy-microhei-font-ttf/wqy-microhei-font-ttf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/wqy-microhei-font-ttf/wqy-microhei-font-ttf.SlackBuild')
-rw-r--r--system/wqy-microhei-font-ttf/wqy-microhei-font-ttf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/wqy-microhei-font-ttf/wqy-microhei-font-ttf.SlackBuild b/system/wqy-microhei-font-ttf/wqy-microhei-font-ttf.SlackBuild
index ba6f3d2f370eb..032277a83ef85 100644
--- a/system/wqy-microhei-font-ttf/wqy-microhei-font-ttf.SlackBuild
+++ b/system/wqy-microhei-font-ttf/wqy-microhei-font-ttf.SlackBuild
@@ -27,6 +27,8 @@
# SUCH DAMAGE.
# -----------------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wqy-microhei-font-ttf
VERSION=${VERSION:-0.2.0_beta}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ ARCH=noarch
SRCNAM=wqy-microhei
SRCVERSION=$(echo $VERSION | tr _ -)
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}