aboutsummaryrefslogtreecommitdiff
path: root/python/python-parse/python-parse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-parse/python-parse.SlackBuild')
-rw-r--r--python/python-parse/python-parse.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python-parse/python-parse.SlackBuild b/python/python-parse/python-parse.SlackBuild
index 98099f348e9a3..f7354e50f132e 100644
--- a/python/python-parse/python-parse.SlackBuild
+++ b/python/python-parse/python-parse.SlackBuild
@@ -24,6 +24,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=python-parse
SRCNAM=parse
VERSION=${VERSION:-1.6.6}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}