[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #9053 [Tor]: configure broken when sh is not bash



#9053: configure broken when sh is not bash
--------------------+-------------------------------------------------------
 Reporter:  x3j11   |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor     |        Version:                    
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
 Commit f5cf614ed3bfdf14b16242d4f1bec086224acf4e introduces a bashism that
 is broken in two ways:
 * on systems where sh is not bash, such as Ubuntu which uses dash, or non-
 Linux, this will mean configure will break with a syntax error
 * the iteration doesn't work as expected with bash, in that only the first
 item is iterated on.

 Using double-quotes is sufficient to use here. Attached is a patch to
 correct this.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9053>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs