summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 7fdd33d..c3ae895 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -357,18 +357,7 @@ step_patch()
{
oh_cv_set step patch
- # TODO: Put this in oh-applypatches.
- applied=false
- if [ -d ../patches ]; then
- # Iterate over patches ordered alphabetically by name.
- for patch in $(ls -1 ../patches | sort); do
- oh_info "${oh_str_applying_patch}" "${patch}"
- patch -N -p 1 -u -d src -i "../../patches/${patch}" || \
- oh_error "${oh_str_cant_apply_patch}" "${patch}"
- applied=true
- done
- fi
- ${applied} || oh_info "${oh_str_no_patches}"
+ oh-applypatches
step_config
}