mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
*/*: [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>
This commit is contained in:
@@ -86,10 +86,10 @@ src_install() {
|
||||
dosym /usr/bin/jamvm ${JDK_DIR}/bin/java
|
||||
for files in ${CLASSPATH_DIR}/g*; do
|
||||
if [ $files = "${CLASSPATH_DIR}/bin/gjdoc" ] ; then
|
||||
dosym $files ${JDK_DIR}/bin/javadoc || die
|
||||
dosym $files ${JDK_DIR}/bin/javadoc
|
||||
else
|
||||
dosym $files \
|
||||
${JDK_DIR}/bin/$(echo $files|sed "s#$(dirname $files)/g##") || die
|
||||
${JDK_DIR}/bin/$(echo $files|sed "s#$(dirname $files)/g##")
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user