Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 452904 Details for
Bug 599392
eselect-java: Replace "/usr/bin/which" with "command -v"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Replace which with command-v
0001-Replace-which-with-command-v.patch (text/plain), 733 bytes, created by
Manuel Rüger (RETIRED)
on 2016-11-10 13:46:16 UTC
(
hide
)
Description:
Replace which with command-v
Filename:
MIME Type:
Creator:
Manuel Rüger (RETIRED)
Created:
2016-11-10 13:46:16 UTC
Size:
733 bytes
patch
obsolete
>From 9ac6760810c3354fa6f709b6c1379afa61c63775 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Manuel=20R=C3=BCger?= <mrueg@gentoo.org> >Date: Thu, 10 Nov 2016 14:42:59 +0100 >Subject: [PATCH] Replace which with command -v > > >diff --git a/src/scripts/run-java-tool.bash.in b/src/scripts/run-java-tool.bash.in >index 2587fee..a159cd4 100644 >--- a/src/scripts/run-java-tool.bash.in >+++ b/src/scripts/run-java-tool.bash.in >@@ -26,7 +26,7 @@ toolpath=$( > export PATH= > . "@GENTOO_PORTAGE_EPREFIX@/usr/share/java-config-2/vm/${vm_handle}" 2> /dev/null > : ${PATH:=${vmpath}/bin:${vmpath}/jre/bin} >- "@GENTOO_PORTAGE_EPREFIX@/usr/bin/which" "${tool}" 2> /dev/null >+ "command -v" "${tool}" 2> /dev/null > ) > > if [ -x "${toolpath}" ]; then >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 599392
: 452904