aboutsummaryrefslogtreecommitdiff
path: root/libraries/lapack-atlas/lapack-atlas.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lapack-atlas/lapack-atlas.SlackBuild')
-rw-r--r--libraries/lapack-atlas/lapack-atlas.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/lapack-atlas/lapack-atlas.SlackBuild b/libraries/lapack-atlas/lapack-atlas.SlackBuild
index 7af5a8d712de6..3e9f817ee310e 100644
--- a/libraries/lapack-atlas/lapack-atlas.SlackBuild
+++ b/libraries/lapack-atlas/lapack-atlas.SlackBuild
@@ -24,6 +24,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=lapack-atlas
VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-2}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD="$(pwd)"
TMP="${TMP:-/tmp/SBo}"
PKG="$TMP/package-${SRCNAM}-atlas"
OUTPUT="${OUTPUT:-/tmp}"