diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2022-08-05 12:34:17 +1000 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-09-21 10:42:31 +0200 |
commit | 7cff95be7c2d472f0f8cd8c8afc153eb3fe8f240 (patch) | |
tree | 3892eaf2aad9c17cef171e7a3d2e58ab66966b50 /doxygen/build_man.sh | |
parent | b26df377c79fe5d7b58bef36fe5f38370a50955b (diff) |
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 build, so don't start
with #!/bin/bash.
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doxygen/build_man.sh')
-rwxr-xr-x | doxygen/build_man.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doxygen/build_man.sh b/doxygen/build_man.sh index c68876c..0d3be4c 100755 --- a/doxygen/build_man.sh +++ b/doxygen/build_man.sh @@ -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. |