aboutsummaryrefslogtreecommitdiff
path: root/office/openoffice-langpack/openoffice-langpack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/openoffice-langpack/openoffice-langpack.SlackBuild')
-rw-r--r--office/openoffice-langpack/openoffice-langpack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/openoffice-langpack/openoffice-langpack.SlackBuild b/office/openoffice-langpack/openoffice-langpack.SlackBuild
index 324677a7618a..47b18f727fcb 100644
--- a/office/openoffice-langpack/openoffice-langpack.SlackBuild
+++ b/office/openoffice-langpack/openoffice-langpack.SlackBuild
@@ -25,6 +25,8 @@
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openoffice-langpack
VERSION=${VERSION:-"4.1.6"}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}