Skip to content
Snippets Groups Projects
  • Jonathan Wakely's avatar
    120e4449
    contrib: Fix nonportable shell syntax in "test" and "[" commands [PR105831] · 120e4449
    Jonathan Wakely authored
    POSIX sh does not support the == for string comparisons, use = instead.
    
    These contrib scripts all use a bash shebang so == does work, but
    there's no reason they can't just use the more portable form anyway.
    
    	PR bootstrap/105831
    
    contrib/ChangeLog:
    
    	* bench-stringop: Use = operator instead of ==.
    	* repro_fail: Likewise.
    
    contrib/reghunt/ChangeLog:
    
    	* bin/reg-hunt: Use = operator instead of ==.
    120e4449
    History
    contrib: Fix nonportable shell syntax in "test" and "[" commands [PR105831]
    Jonathan Wakely authored
    POSIX sh does not support the == for string comparisons, use = instead.
    
    These contrib scripts all use a bash shebang so == does work, but
    there's no reason they can't just use the more portable form anyway.
    
    	PR bootstrap/105831
    
    contrib/ChangeLog:
    
    	* bench-stringop: Use = operator instead of ==.
    	* repro_fail: Likewise.
    
    contrib/reghunt/ChangeLog:
    
    	* bin/reg-hunt: Use = operator instead of ==.