From 313e0a81aaea97f8d7b1718afb1a647a61f6d808 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 21 Sep 2020 22:30:59 +0200 Subject: [PATCH] Fix warning in generator Fixes ``` Use of uninitialized value in concatenation (.) or string at template qt5-tools/mingw-w64/PKGBUILD.sh.ep line 44. ``` --- .../templates/fragments/mingw-w64-qt5-executable_suffix.sh.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/generator/templates/fragments/mingw-w64-qt5-executable_suffix.sh.ep b/devel/generator/templates/fragments/mingw-w64-qt5-executable_suffix.sh.ep index 58c2dcb9..dd962443 100644 --- a/devel/generator/templates/fragments/mingw-w64-qt5-executable_suffix.sh.ep +++ b/devel/generator/templates/fragments/mingw-w64-qt5-executable_suffix.sh.ep @@ -1,4 +1,4 @@ -% return undef if $static_variant; +% return '' if $static_variant; # make sure the executables don't conflict with their mingw-qt4 counterpart for _arch in ${_architectures}; do for exe_file in "${pkgdir}/usr/${_arch}/bin/"*.exe; do