1 |
commit: ae3df10c876759010ceb65558932a31c1d72b831 |
2 |
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Apr 17 09:10:42 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 21:40:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3df10c |
7 |
|
8 |
sys-apps/busybox: Fix bashism in udhcpc script |
9 |
|
10 |
Closes: https://bugs.gentoo.org/801535 |
11 |
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
sys-apps/busybox/busybox-1.34.1-r1.ebuild | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/sys-apps/busybox/busybox-1.34.1-r1.ebuild b/sys-apps/busybox/busybox-1.34.1-r1.ebuild |
18 |
index 1d060aa4237c..258351783943 100644 |
19 |
--- a/sys-apps/busybox/busybox-1.34.1-r1.ebuild |
20 |
+++ b/sys-apps/busybox/busybox-1.34.1-r1.ebuild |
21 |
@@ -277,6 +277,7 @@ src_install() { |
22 |
newinitd "${FILESDIR}"/watchdog.initd busybox-watchdog |
23 |
fi |
24 |
if busybox_config_enabled UDHCPC; then |
25 |
+ sed -i 's:$((metric++)):$metric; metric=$((metric + 1)):' examples/udhcp/simple.script || die #801535 |
26 |
local path=$(busybox_config_enabled UDHCPC_DEFAULT_SCRIPT) |
27 |
exeinto "${path%/*}" |
28 |
newexe examples/udhcp/simple.script "${path##*/}" |