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