aboutsummaryrefslogtreecommitdiff
path: root/academic/smath-studio/smath-studio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/smath-studio/smath-studio.SlackBuild')
-rw-r--r--academic/smath-studio/smath-studio.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/smath-studio/smath-studio.SlackBuild b/academic/smath-studio/smath-studio.SlackBuild
index 19c2c741868ff..cbcd0d2f61ac4 100644
--- a/academic/smath-studio/smath-studio.SlackBuild
+++ b/academic/smath-studio/smath-studio.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=smath-studio
VERSION=${VERSION:-0.97.5346}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ ORIG_FILENAME=${ORIG_PRGNAM}Desktop.$ORIG_VERSION.Mono.tar.gz
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}