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