diff options
Diffstat (limited to 'meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch')
| -rw-r--r-- | meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch b/meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch new file mode 100644 index 0000000000..0aaeaa29eb --- /dev/null +++ b/meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From a66811c487ecf8ba8724879c253bb10dfa82aeb5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Fri, 1 Jun 2018 19:57:32 +0300 | ||
| 4 | Subject: [PATCH] configure_tool.sh: do not quote the argument to 'command' | ||
| 5 | |||
| 6 | As it seems to break things if the argument has spaces and arguments in it. | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 10 | --- | ||
| 11 | cnf/configure_tool.sh | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/cnf/configure_tool.sh b/cnf/configure_tool.sh | ||
| 15 | index 32201c0..461bc68 100644 | ||
| 16 | --- a/cnf/configure_tool.sh | ||
| 17 | +++ b/cnf/configure_tool.sh | ||
| 18 | @@ -2,7 +2,7 @@ | ||
| 19 | |||
| 20 | tryprog() { | ||
| 21 | log "trying $1=$2" | ||
| 22 | - if command -v "$2" 1>/dev/null 2>/dev/null; then | ||
| 23 | + if command -v $2 1>/dev/null 2>/dev/null; then | ||
| 24 | define "$1" "$2" | ||
| 25 | result "$2" | ||
| 26 | return 0 | ||
| 27 | -- | ||
| 28 | 2.17.0 | ||
| 29 | |||
