patch_funcs.sh: return immediately if no patches.
--HG-- extra : convert_revision : 2c87a0d74bc7a8f340213627b0b80374eb75cd44
This commit is contained in:
parent
710a7b8509
commit
9bd1471410
2 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,6 @@ configure_src_phase()
|
|||
"$build_style" = "only-install" -o \
|
||||
"$build_style" = "custom-install" ] && return 0
|
||||
|
||||
|
||||
# cross compilation vars.
|
||||
if [ -n "$cross_compiler" ]; then
|
||||
. $XBPS_HELPERSDIR/cross-compilation.sh
|
||||
|
|
|
@ -40,6 +40,7 @@ apply_tmpl_patches()
|
|||
fi
|
||||
|
||||
[ -z "$patch_args" ] && patch_args="-p0"
|
||||
[ -z "$patch_files" ] && return 0
|
||||
|
||||
#
|
||||
# If package needs some patches applied before building,
|
||||
|
|
Loading…
Reference in a new issue