diff options
author | Paulo Neves <ptsneves@gmail.com> | 2022-06-14 17:11:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-17 17:57:44 +0100 |
commit | e68081d83ffb5a35947d94557c040af65617b7e2 (patch) | |
tree | 53b142071266136c022164ed035229e9877eefee /meta/recipes-gnome | |
parent | 750f4bfea9cdbb38705ded7836203df7cce352e4 (diff) | |
download | poky-e68081d83ffb5a35947d94557c040af65617b7e2.tar.gz |
gtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2
A native path can cause a shebang overflow on gtkdoc-mkhtml.
Replace it with /usr/bin/env.
(From OE-Core rev: f018d3f77f27b73206a26c78228fed563950bd9d)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb index 150d2c0b23..392913fcc6 100644 --- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb +++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb | |||
@@ -43,6 +43,7 @@ do_install:append () { | |||
43 | ${datadir}/gtk-doc/python/gtkdoc/config.py; do | 43 | ${datadir}/gtk-doc/python/gtkdoc/config.py; do |
44 | sed -e 's,${RECIPE_SYSROOT_NATIVE}/usr/bin/pkg-config,${bindir}/pkg-config,' \ | 44 | sed -e 's,${RECIPE_SYSROOT_NATIVE}/usr/bin/pkg-config,${bindir}/pkg-config,' \ |
45 | -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ | 45 | -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ |
46 | -e '1s|^#!.*|#!/usr/bin/env python3|' \ | ||
46 | -i ${D}$fn | 47 | -i ${D}$fn |
47 | done | 48 | done |
48 | } | 49 | } |