aboutsummaryrefslogtreecommitdiff
path: root/office/gbgoffice/gbgoffice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/gbgoffice/gbgoffice.SlackBuild')
-rw-r--r--office/gbgoffice/gbgoffice.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/gbgoffice/gbgoffice.SlackBuild b/office/gbgoffice/gbgoffice.SlackBuild
index ac29c6f2d5f05..7980c1d462b8b 100644
--- a/office/gbgoffice/gbgoffice.SlackBuild
+++ b/office/gbgoffice/gbgoffice.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=gbgoffice
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-3}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}