aboutsummaryrefslogtreecommitdiff
path: root/office/kchmviewer/kchmviewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/kchmviewer/kchmviewer.SlackBuild')
-rw-r--r--office/kchmviewer/kchmviewer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/kchmviewer/kchmviewer.SlackBuild b/office/kchmviewer/kchmviewer.SlackBuild
index e1dd1915c5e69..d343082ffd4ea 100644
--- a/office/kchmviewer/kchmviewer.SlackBuild
+++ b/office/kchmviewer/kchmviewer.SlackBuild
@@ -23,6 +23,8 @@
# (INCLUDING NEGLIGENCE OR 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
VERSION=${VERSION:-6.0}
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}