Bug 1258808 - bash: [: |/usr/bin/lesspipe.sh: binary operator expected
Summary: bash: [: |/usr/bin/lesspipe.sh: binary operator expected
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Viktor Jancik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1259195 1259494 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 10:30 UTC by Yanko Kaneti
Modified: 2016-02-01 02:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-02 12:39:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Yanko Kaneti 2015-09-01 10:30:01 UTC
less-479-2.fc24.x86_64, someone built that in rawhide yesterday after the commit was there for a week before that....

Perhaps what was meant in less.sh was
-if [ -x /usr/bin/lesspipe.sh ] && [ -z $LESSOPEN ]; then
+if [ -x /usr/bin/lesspipe.sh ] && [ -z "$LESSOPEN" ]; then

Comment 1 Yanko Kaneti 2015-09-02 11:21:04 UTC
*** Bug 1259195 has been marked as a duplicate of this bug. ***

Comment 2 Viktor Jancik 2015-09-02 12:39:30 UTC
Fixed in rawhide:
https://koji.fedoraproject.org/koji/taskinfo?taskID=10928002

Thank you for pointing it out, I missed it.

Comment 3 Yanko Kaneti 2015-09-02 19:01:18 UTC
*** Bug 1259494 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.