diff options
Diffstat (limited to 'patches/libwpd')
-rwxr-xr-x | patches/libwpd/libwpd.SlackBuild | 3 |
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 |