aboutsummaryrefslogtreecommitdiff
path: root/graphics/xdot
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xdot')
-rw-r--r--graphics/xdot/xdot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild
index 4314dd46386b7..6e4da73c4f039 100644
--- a/graphics/xdot/xdot.SlackBuild
+++ b/graphics/xdot/xdot.SlackBuild
@@ -23,6 +23,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=xdot
SRCNAM=xdot.py
VERSION=${VERSION:-1.2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}