File: 0002-Ensure-bin-bash-is-found-first.patch

package info (click to toggle)
xmlto 0.0.29-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 568 kB
  • sloc: xml: 511; lex: 279; makefile: 83; sh: 14
file content (22 lines) | stat: -rw-r--r-- 786 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?b?IkNoYW5nWmh1byBDaGVuICjpmbPmmIzlgKwpIg==?=
 <czchen@debian.org>
Date: Sat, 2 Aug 2025 01:01:32 +0800
Subject: Ensure /bin/bash is found first

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 675dcb8..3c0fa1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@ AC_ARG_VAR([FIND], [Name of the GNU `find' program.])
 AC_CHECK_PROG([FIND], [find],, [find] )
 
 AC_ARG_VAR([XMLTO_BASH_PATH], [Name and path of the GNU `bash' shell.])
-AC_PATH_PROG([XMLTO_BASH_PATH], [bash], [/bin/bash])
+AC_PATH_PROG([XMLTO_BASH_PATH], [bash], [/bin/bash], [[/bin:/usr/bin]])
 
 AC_ARG_VAR([GETOPT], [Name of the `getopt' program (requires longopt support).])
 AC_CHECK_PROG([GETOPT], [getopt],, [getopt])