summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libwpd
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libwpd')
-rwxr-xr-xslackware64-current/source/l/libwpd/libwpd.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libwpd/libwpd.SlackBuild b/slackware64-current/source/l/libwpd/libwpd.SlackBuild
index b829b1f76..26e354db2 100755
--- a/slackware64-current/source/l/libwpd/libwpd.SlackBuild
+++ b/slackware64-current/source/l/libwpd/libwpd.SlackBuild
@@ -20,6 +20,7 @@
# 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)
VERSION=${VERSION:-$(echo libwpd-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
@@ -55,7 +56,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-libwpd
rm -rf $PKG