Commit 0e8797c7 authored by Simon Braß's avatar Simon Braß
Browse files

Move patch_pkg directly after downloading a package

parent ea9e35f5
Pipeline #9767 failed with stage
in 22 minutes and 23 seconds
......@@ -213,9 +213,12 @@ patch_build_generic () {
local url_patch="${2}"
local config="${3:-}"
local name="$(basename_pkg ${url} .tar.gz)"
test -d "${name}" || download_untar_pkg "${url}" "${url_patch}"
test -d "${name}" || \
(download_untar_pkg "${url}" "${url_patch}" && \
pushd "${name}" && \
patch_pkg "${url_patch}" && \
popd || return)
pushd "${name}" && \
patch_pkg "${url_patch}" && \
make_make_install "${config}" && \
popd || return
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment