Unportable test(1) construct
Bug #66336 reported by
Thomas Klausner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Martin Pool |
Bug Description
As of version 0.11, bzr is using the unportable bash extension "==" for test(1) in contrib/fortune. This is not supported by most other shells or even test(1) from GNU coreutils. Please use "=" instead. I'll attach a patch (if I manage).
Related branches
lp:~mbp/bzr/trivial
- John A Meinel: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbzrlib/osutils.py (+1/-1)
- bzr-core: Pending requested
-
Diff: 15 lines (+4/-1)1 file modifiedbzrlib/transport/__init__.py (+4/-1)
Changed in bzr: | |
assignee: | nobody → Martin Pool (mbp) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.2.0b1 |
status: | In Progress → Fix Released |
To post a comment you must log in.
On Mon, 2006-10-16 at 01:08 +0000, Thomas Klausner wrote:
> Public bug reported:
>
> As of version 0.11, bzr is using the unportable bash extension "==" for
> test(1) in contrib/fortune. This is not supported by most other shells
> or even test(1) from GNU coreutils. Please use "=" instead. I'll attach
> a patch (if I manage).
We dont use or install contrib/fortune. I think we should just remove
it, in favour of actual documentation.
-Rob
-- www.robertcolli ns.net/ keys.txt>.
GPG key available at: <http://