aboutsummaryrefslogtreecommitdiff
path: root/office/smoffice2021/smoffice2021.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/smoffice2021/smoffice2021.SlackBuild')
-rw-r--r--office/smoffice2021/smoffice2021.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/smoffice2021/smoffice2021.SlackBuild b/office/smoffice2021/smoffice2021.SlackBuild
index 6659a822092c..b04744f62684 100644
--- a/office/smoffice2021/smoffice2021.SlackBuild
+++ b/office/smoffice2021/smoffice2021.SlackBuild
@@ -25,6 +25,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=smoffice2021
VERSION=${VERSION:-2021_1024}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ "$ARCH" != "x86_64" ]; then
echo "$ARCH is not supported."
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}