From 9bd147141043da479a8d5ceb8c588b27a08bfdc6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 16 Dec 2008 18:59:36 +0100 Subject: [PATCH] patch_funcs.sh: return immediately if no patches. --HG-- extra : convert_revision : 2c87a0d74bc7a8f340213627b0b80374eb75cd44 --- utils/sh/configure_funcs.sh | 1 - utils/sh/patch_funcs.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/sh/configure_funcs.sh b/utils/sh/configure_funcs.sh index 0b5c11c1bb6..b909b74c215 100644 --- a/utils/sh/configure_funcs.sh +++ b/utils/sh/configure_funcs.sh @@ -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 diff --git a/utils/sh/patch_funcs.sh b/utils/sh/patch_funcs.sh index ffbf260d568..bae52e104e6 100644 --- a/utils/sh/patch_funcs.sh +++ b/utils/sh/patch_funcs.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,