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