summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_configure_patch.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_configure_patch.subr')
-rw-r--r--subr/pkg_configure_patch.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_configure_patch.subr b/subr/pkg_configure_patch.subr
index b789a80e..7569c6ac 100644
--- a/subr/pkg_configure_patch.subr
+++ b/subr/pkg_configure_patch.subr
@@ -6,8 +6,8 @@ pkg_configure_patch() {
local _patch_cwd="" _patch_dir="${MIDIPIX_BUILD_PWD}/patches" _patch_fname=""\
_patches_done="" _pkg_name_full="${PKG_NAME}${PKG_VERSION:+-${PKG_VERSION}}";
- if [ -n "${PKG_FNAME}" ]\
- && [ -n "${PKG_URLS_GIT}" ]; then
+ if [ -n "${PKG_FNAME:-}" ]\
+ && [ -n "${PKG_URLS_GIT:-}" ]; then
_patch_cwd="${PKG_BASE_DIR}";
else
_patch_cwd="${PKG_BASE_DIR}/${PKG_SUBDIR}";