aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rwxr-xr-xpatches/libwpd/libwpd.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/patches/libwpd/libwpd.SlackBuild b/patches/libwpd/libwpd.SlackBuild
index 2884ff41..7dd789ab 100755
--- a/patches/libwpd/libwpd.SlackBuild
+++ b/patches/libwpd/libwpd.SlackBuild
@@ -62,6 +62,9 @@ PACKAGE_EXT="gz"
SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
URL="http://easynews.dl.sourceforge.net/sourceforge/libwpd/$SRC"
+SRC_DIR="$SRC_DIR/$PACKAGE"
+mkdir -p $SRC_DIR
+
if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
fi