diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2022-04-17 12:10:42 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-30 21:40:15 +0000 |
commit | ae3df10c876759010ceb65558932a31c1d72b831 (patch) | |
tree | ee458a32ca8776cf21428413e573d34d4100052e /sys-apps/busybox | |
parent | sys-apps/busybox: Fix installation on split-usr systems (diff) | |
download | gentoo-ae3df10c876759010ceb65558932a31c1d72b831.tar.gz gentoo-ae3df10c876759010ceb65558932a31c1d72b831.tar.bz2 gentoo-ae3df10c876759010ceb65558932a31c1d72b831.zip |
sys-apps/busybox: Fix bashism in udhcpc script
Closes: https://bugs.gentoo.org/801535
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/busybox')
-rw-r--r-- | sys-apps/busybox/busybox-1.34.1-r1.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/busybox/busybox-1.34.1-r1.ebuild b/sys-apps/busybox/busybox-1.34.1-r1.ebuild index 1d060aa4237c..258351783943 100644 --- a/sys-apps/busybox/busybox-1.34.1-r1.ebuild +++ b/sys-apps/busybox/busybox-1.34.1-r1.ebuild @@ -277,6 +277,7 @@ src_install() { newinitd "${FILESDIR}"/watchdog.initd busybox-watchdog fi if busybox_config_enabled UDHCPC; then + sed -i 's:$((metric++)):$metric; metric=$((metric + 1)):' examples/udhcp/simple.script || die #801535 local path=$(busybox_config_enabled UDHCPC_DEFAULT_SCRIPT) exeinto "${path%/*}" newexe examples/udhcp/simple.script "${path##*/}" |