aboutsummaryrefslogtreecommitdiff
path: root/office/xtrkcad
diff options
context:
space:
mode:
Diffstat (limited to 'office/xtrkcad')
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index 6fd7450ffc30..24c87aa5c2b0 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.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=xtrkcad
VERSION=${VERSION:-5.1.2a}
SRCVERSION=$(echo $VERSION | tr _ -)
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}