Merge lp:~blueyed/byobu/redirect-stderr-for-BYOBU_TEST into lp:byobu

Proposed by Daniel Hahler
Status: Merged
Merged at revision: 1973
Proposed branch: lp:~blueyed/byobu/redirect-stderr-for-BYOBU_TEST
Merge into: lp:byobu
Diff against target: 15 lines (+2/-2)
1 file modified
usr/lib/byobu/include/common (+2/-2)
To merge this branch: bzr merge lp:~blueyed/byobu/redirect-stderr-for-BYOBU_TEST
Reviewer Review Type Date Requested Status
Dustin Kirkland  Pending
Review via email: mp+114256@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Review: approve

Thanks!
On Jul 10, 2012 3:13 PM, "Daniel Hahler" <email address hidden> wrote:

> Daniel Hahler has proposed merging
> lp:~blueyed/byobu/redirect-stderr-for-BYOBU_TEST into lp:byobu.
>
> Requested reviews:
> Dustin Kirkland (kirkland)
>
> For more details, see:
>
> https://code.launchpad.net/~blueyed/byobu/redirect-stderr-for-BYOBU_TEST/+merge/114256
> --
>
> https://code.launchpad.net/~blueyed/byobu/redirect-stderr-for-BYOBU_TEST/+merge/114256
> You are requested to review the proposed merge of
> lp:~blueyed/byobu/redirect-stderr-for-BYOBU_TEST into lp:byobu.
>
> === modified file 'usr/lib/byobu/include/common'
> --- usr/lib/byobu/include/common 2012-06-24 20:05:52 +0000
> +++ usr/lib/byobu/include/common 2012-07-10 19:12:18 +0000
> @@ -23,9 +23,9 @@
> . "${BYOBU_PREFIX}/lib/${PKG}/include/dirs"
>
> # Find command/type/which
> - if command -v; then
> + if command -v 2>/dev/null; then
> BYOBU_TEST="command -v"
> - elif type; then
> + elif type 2>/dev/null; then
> BYOBU_TEST="type"
> else
> BYOBU_TEST="which"
>
>
>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usr/lib/byobu/include/common'
2--- usr/lib/byobu/include/common 2012-06-24 20:05:52 +0000
3+++ usr/lib/byobu/include/common 2012-07-10 19:12:18 +0000
4@@ -23,9 +23,9 @@
5 . "${BYOBU_PREFIX}/lib/${PKG}/include/dirs"
6
7 # Find command/type/which
8- if command -v; then
9+ if command -v 2>/dev/null; then
10 BYOBU_TEST="command -v"
11- elif type; then
12+ elif type 2>/dev/null; then
13 BYOBU_TEST="type"
14 else
15 BYOBU_TEST="which"

Subscribers

People subscribed via source and target branches