aboutsummaryrefslogtreecommitdiff
path: root/office/smoffice2016/smoffice2016.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/smoffice2016/smoffice2016.SlackBuild')
-rw-r--r--office/smoffice2016/smoffice2016.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/smoffice2016/smoffice2016.SlackBuild b/office/smoffice2016/smoffice2016.SlackBuild
index 954b7315ae1e2..ac0b597e47d37 100644
--- a/office/smoffice2016/smoffice2016.SlackBuild
+++ b/office/smoffice2016/smoffice2016.SlackBuild
@@ -24,6 +24,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=smoffice2016
VERSION=${VERSION:-2016_765}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}