summaryrefslogtreecommitdiffstats
path: root/academic/labplot2/labplot2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/labplot2/labplot2.SlackBuild')
-rw-r--r--academic/labplot2/labplot2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/labplot2/labplot2.SlackBuild b/academic/labplot2/labplot2.SlackBuild
index 8e1d11e438..3adc58c8eb 100644
--- a/academic/labplot2/labplot2.SlackBuild
+++ b/academic/labplot2/labplot2.SlackBuild
@@ -22,6 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NAME=labplot
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=labplot2
VERSION=${VERSION:-2.4.0}
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}