summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
commit398a42634f34afa1979d88ae1d8b38194e911c2d (patch)
treed6a45bdf7b35b71c192602a46e8d98d12a88cb02 /net-libs/axtls
parentdev-ros/geometric_shapes: Remove old (diff)
downloadgentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.gz
gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.bz2
gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.zip
*/*: [QA] Remove redundant `|| die` guards
* Since all ebuilds in the tree are EAPI>=4, `|| die` on builtin commands is redundant and dead code. Closes: https://github.com/gentoo/gentoo/pull/13940 Reviewed-by: Ulrich Müller <ulm@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-libs/axtls')
-rw-r--r--net-libs/axtls/axtls-1.5.3.ebuild4
-rw-r--r--net-libs/axtls/axtls-2.1.3.ebuild4
-rw-r--r--net-libs/axtls/axtls-2.1.4.ebuild4
-rw-r--r--net-libs/axtls/axtls-2.1.5.ebuild4
4 files changed, 8 insertions, 8 deletions
diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild
index 47c0da37b128..1f02d467d121 100644
--- a/net-libs/axtls/axtls-1.5.3.ebuild
+++ b/net-libs/axtls/axtls-1.5.3.ebuild
@@ -117,7 +117,7 @@ use_flag_config() {
config/.config || die
fi
- yes "n" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes n) > /dev/null
}
multilib_src_configure() {
@@ -137,7 +137,7 @@ multilib_src_configure() {
ewarn "No saved config, seeding with the default"
cp "${FILESDIR}"/config config/.config || die
fi
- yes "" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes '') > /dev/null
else
use_flag_config
fi
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index 06c5a89a4df1..b856997fc616 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -119,7 +119,7 @@ use_flag_config() {
config/.config || die
fi
- yes "n" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes n) > /dev/null
}
multilib_src_configure() {
@@ -139,7 +139,7 @@ multilib_src_configure() {
ewarn "No saved config, seeding with the default"
cp "${FILESDIR}"/config config/.config || die
fi
- yes "" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes '') > /dev/null
else
use_flag_config
fi
diff --git a/net-libs/axtls/axtls-2.1.4.ebuild b/net-libs/axtls/axtls-2.1.4.ebuild
index b9c459a225e2..dcd2852e8235 100644
--- a/net-libs/axtls/axtls-2.1.4.ebuild
+++ b/net-libs/axtls/axtls-2.1.4.ebuild
@@ -119,7 +119,7 @@ use_flag_config() {
config/.config || die
fi
- yes "n" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes n) > /dev/null
}
multilib_src_configure() {
@@ -139,7 +139,7 @@ multilib_src_configure() {
ewarn "No saved config, seeding with the default"
cp "${FILESDIR}"/config config/.config || die
fi
- yes "" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes '') > /dev/null
else
use_flag_config
fi
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
index 490ad132093a..674385dd40d6 100644
--- a/net-libs/axtls/axtls-2.1.5.ebuild
+++ b/net-libs/axtls/axtls-2.1.5.ebuild
@@ -119,7 +119,7 @@ use_flag_config() {
config/.config || die
fi
- yes "n" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes n) > /dev/null
}
multilib_src_configure() {
@@ -139,7 +139,7 @@ multilib_src_configure() {
ewarn "No saved config, seeding with the default"
cp "${FILESDIR}"/config config/.config || die
fi
- yes "" | emake -j1 oldconfig > /dev/null || die
+ emake -j1 oldconfig < <(yes '') > /dev/null
else
use_flag_config
fi