aboutsummaryrefslogtreecommitdiff
path: root/academic/topdraw/topdraw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/topdraw/topdraw.SlackBuild')
-rw-r--r--academic/topdraw/topdraw.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/topdraw/topdraw.SlackBuild b/academic/topdraw/topdraw.SlackBuild
index fa7b7853ceb7b..4f26d1299057f 100644
--- a/academic/topdraw/topdraw.SlackBuild
+++ b/academic/topdraw/topdraw.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=topdraw
VERSION=${VERSION:-sep2002}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}