mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/gnulib: adapt gnulib-tool for later versions
install the .sh version so we don't have to go through the dynamic selector code Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -36,8 +36,12 @@ src_install() {
|
||||
|
||||
# install the real script
|
||||
exeinto /usr/share/${PN}
|
||||
doexe gnulib-tool
|
||||
doexe gnulib-tool.sh
|
||||
|
||||
# we cannot use the .py impl because it python-exec badly interacts,
|
||||
# so we drop it, and force the .sh version; it's not that it matters
|
||||
# a whole lot, since this is supposed to be run occasionally
|
||||
|
||||
# create and install the wrapper
|
||||
dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
|
||||
dosym ../share/${PN}/gnulib-tool.sh /usr/bin/gnulib-tool
|
||||
}
|
||||
|
||||
@@ -34,8 +34,12 @@ src_install() {
|
||||
|
||||
# install the real script
|
||||
exeinto /usr/share/${PN}
|
||||
doexe gnulib-tool
|
||||
doexe gnulib-tool.sh
|
||||
|
||||
# we cannot use the .py impl because it python-exec badly interacts,
|
||||
# so we drop it, and force the .sh version; it's not that it matters
|
||||
# a whole lot, since this is supposed to be run occasionally
|
||||
|
||||
# create and install the wrapper
|
||||
dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool
|
||||
dosym ../share/${PN}/gnulib-tool.sh /usr/bin/gnulib-tool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user