aboutsummaryrefslogtreecommitdiff
path: root/business/stansoft/stansoft.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'business/stansoft/stansoft.SlackBuild')
-rw-r--r--business/stansoft/stansoft.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/business/stansoft/stansoft.SlackBuild b/business/stansoft/stansoft.SlackBuild
index 6a153b33fcf04..3054e3219dc21 100644
--- a/business/stansoft/stansoft.SlackBuild
+++ b/business/stansoft/stansoft.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=stansoft
VERSION=${VERSION:-7.21}
BUILD=${BUILD:-1}
@@ -54,7 +56,6 @@ elif ! grep -q "^$STANSOFT_GROUP:" /etc/group; then
bailout
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}