mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
build: fix string comparisons in autogen.sh
Compare strings with '=', not '=='. The second form doesn't work with all shells. Fixes #876.
This commit is contained in:
parent
db1dccb9ec
commit
0e4fa705f0
@ -14,7 +14,7 @@
|
||||
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
if [ "$LIBTOOLIZE" == "" ] && [ "`uname`" == "Darwin" ]; then
|
||||
if [ "$LIBTOOLIZE" = "" ] && [ "`uname`" = "Darwin" ]; then
|
||||
LIBTOOLIZE=glibtoolize
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user