]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/blob
5a38feb16c729b12c48e75a78fbe6195ecd6a286
[thirdparty/openembedded/openembedded-core.git] /
1 From 4339a2298a2d486fb4636b72393499b59805edde Mon Sep 17 00:00:00 2001
2 From: Changqing Li <changqing.li@windriver.com>
3 Date: Thu, 21 Nov 2024 14:54:37 +0800
4 Subject: [PATCH] configure: don't report error when the path of Perl contains
5 spaces or tabs
6
7 In order to make setting PERL to "/usr/bin/env perl" works well, patch
8 configure as upstream suggested, refer [1].
9
10 [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74453
11
12 Upstream-Status: Inappropriate [ oe-specific ]
13
14 Signed-off-by: Changqing Li <changqing.li@windriver.com>
15 ---
16 configure | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/configure b/configure
20 index 45bf85a..68d3c7d 100755
21 --- a/configure
22 +++ b/configure
23 @@ -3514,7 +3514,7 @@ case $PERL in
24 as_fn_error $? "perl not found" "$LINENO" 5
25 ;;
26 *' '* | *' '*)
27 - as_fn_error $? "The path to your Perl contains spaces or tabs.
28 + : as_fn_error $? "The path to your Perl contains spaces or tabs.
29 This would cause build failures later or unusable programs.
30 Please use a path without spaces and try again." "$LINENO" 5
31 ;;
32 --
33 2.25.1
34