aboutsummaryrefslogtreecommitdiff
path: root/office/smoffice2018/smoffice2018.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/smoffice2018/smoffice2018.SlackBuild')
-rw-r--r--office/smoffice2018/smoffice2018.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/smoffice2018/smoffice2018.SlackBuild b/office/smoffice2018/smoffice2018.SlackBuild
index 2d75c5da50c5..13fe4dd35dbc 100644
--- a/office/smoffice2018/smoffice2018.SlackBuild
+++ b/office/smoffice2018/smoffice2018.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=smoffice2018
VERSION=${VERSION:-2018_976}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}