aboutsummaryrefslogtreecommitdiff
path: root/academic/kiwisolver/kiwisolver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/kiwisolver/kiwisolver.SlackBuild')
-rw-r--r--academic/kiwisolver/kiwisolver.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/kiwisolver/kiwisolver.SlackBuild b/academic/kiwisolver/kiwisolver.SlackBuild
index b5280c66218f..c923a476362c 100644
--- a/academic/kiwisolver/kiwisolver.SlackBuild
+++ b/academic/kiwisolver/kiwisolver.SlackBuild
@@ -23,6 +23,8 @@
# 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=kiwisolver
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}