aboutsummaryrefslogtreecommitdiff
path: root/python/pychm/pychm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pychm/pychm.SlackBuild')
-rw-r--r--python/pychm/pychm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pychm/pychm.SlackBuild b/python/pychm/pychm.SlackBuild
index d82b4bdf7c26e..8ed1ebcf1b061 100644
--- a/python/pychm/pychm.SlackBuild
+++ b/python/pychm/pychm.SlackBuild
@@ -25,6 +25,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pychm
VERSION=${VERSION:-0.8.6}
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}