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