summaryrefslogtreecommitdiffstats
path: root/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/kchmviewer-qt/kchmviewer-qt.SlackBuild')
-rw-r--r--office/kchmviewer-qt/kchmviewer-qt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
index 6f8c9f7430..c1f0e7397b 100644
--- a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
+++ b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
@@ -23,6 +23,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=kchmviewer-qt
VERSION=${VERSION:-7.7}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}