aboutsummaryrefslogtreecommitdiff
path: root/misc/fcitx-mozc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fcitx-mozc')
-rw-r--r--misc/fcitx-mozc/fcitx-mozc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/fcitx-mozc/fcitx-mozc.SlackBuild b/misc/fcitx-mozc/fcitx-mozc.SlackBuild
index 7947fb193adc8..d4ecb347bd952 100644
--- a/misc/fcitx-mozc/fcitx-mozc.SlackBuild
+++ b/misc/fcitx-mozc/fcitx-mozc.SlackBuild
@@ -22,6 +22,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fcitx-mozc
VERSION=${VERSION:-2.17.2313.102.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}