build: doc: Update build_man.sh to find bash in PATH
PATCH 1/1 build: doc: Update build_man.sh to find bash in PATH
The use of /bin/bash has been reported as a problem during a cross build of libmnl with a build system running macOS or BSD.
build_man.sh is intended to be usable in a libmnl build, so don't start with #!/bin/bash.
Signed-off-by Duncan Roe <[email protected]>
--- doxygen/build_man.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
doxygen/build_man.sh +2 -1
@@ -1,4 +1,5 @@ -#!/bin/bash -p +#!/bin/sh +[ -n "$BASH" ] || exec bash -p $0 # Script to process man pages output by doxygen. # We need to use bash for its associative array facility.
Signature · 1 line
2.35.1