aboutsummaryrefslogtreecommitdiff
path: root/academic/copasi/copasi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/copasi/copasi.SlackBuild')
-rw-r--r--academic/copasi/copasi.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/copasi/copasi.SlackBuild b/academic/copasi/copasi.SlackBuild
index a806eb99491c5..5f6739fec5721 100644
--- a/academic/copasi/copasi.SlackBuild
+++ b/academic/copasi/copasi.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=copasi
VERSION=${VERSION:-4.28.226}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}