aboutsummaryrefslogtreecommitdiff
path: root/academic/TreeGraph/TreeGraph.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/TreeGraph/TreeGraph.SlackBuild')
-rw-r--r--academic/TreeGraph/TreeGraph.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/TreeGraph/TreeGraph.SlackBuild b/academic/TreeGraph/TreeGraph.SlackBuild
index ea04a55bf2f7..1352b07dcf61 100644
--- a/academic/TreeGraph/TreeGraph.SlackBuild
+++ b/academic/TreeGraph/TreeGraph.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=TreeGraph
VERSION=${VERSION:-2.15.0_887_beta}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ZIPVER=2.15.0-887_beta
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}