aboutsummaryrefslogtreecommitdiff
path: root/libraries/xapian-bindings/xapian-bindings.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xapian-bindings/xapian-bindings.SlackBuild')
-rw-r--r--libraries/xapian-bindings/xapian-bindings.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/xapian-bindings/xapian-bindings.SlackBuild b/libraries/xapian-bindings/xapian-bindings.SlackBuild
index 613ceb7dd206..85934d8d03e2 100644
--- a/libraries/xapian-bindings/xapian-bindings.SlackBuild
+++ b/libraries/xapian-bindings/xapian-bindings.SlackBuild
@@ -22,6 +22,8 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xapian-bindings
VERSION=${VERSION:-1.2.8}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}