summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-07-09 17:25:00 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-07-09 17:25:00 +0900
commit71be4aab42ffdfbe2177b1ba6639f9bf935251f7 (patch)
tree4be21dd55c04809eba5669b41b615e4d4d9e238d
parentnet-nds/openldap: re-add for stacked windows prefix (diff)
downloadprefix-71be4aab42ffdfbe2177b1ba6639f9bf935251f7.tar.gz
prefix-71be4aab42ffdfbe2177b1ba6639f9bf935251f7.tar.bz2
prefix-71be4aab42ffdfbe2177b1ba6639f9bf935251f7.zip
scripts/bootstrap-prefix.sh: improve the fake makeinfo.
In the glibc build, makeinfo -P <dir> --output=libc.info libc.texinfo is called and we should ignore -P. Credit: huiyiqun
-rwxr-xr-xscripts/bootstrap-prefix.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 07695383bf..ad21815f9e 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1648,14 +1648,14 @@ bootstrap_stage3() {
# GCC sometimes decides that it needs to run makeinfo to update some
# info pages from .texi files. Obviously we don't care at this
- # stage and rather have it continue instead of abort the build
+ # stage and rather have it continue instead of aborting the build
[[ -x "${ROOT}"/usr/bin/makeinfo ]] || cat > "${ROOT}"/usr/bin/makeinfo <<-EOF
#!${ROOT}/bin/bash
echo "makeinfo GNU texinfo 4.13"
for a in \$@; do
case \$a in
--*) f=\$(echo "\$a" | sed -r 's,--.*=(.*),\1,') ;;
- -*) ;;
+ -*) continue ;;
*) f=\$a ;;
esac
[[ -e \$f ]] || touch \$f