[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [make] == unexpected operator
From: |
Eric Blake |
Subject: |
Re: [make] == unexpected operator |
Date: |
Thu, 25 Feb 2010 09:23:38 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
According to MaciekL on 2/25/2010 5:52 AM:
> <tab>if [ "a" == "b" ]; then\
Per POSIX, the only portable way to compare strings is with =, not ==. ==
is a bash extension, but if your /bin/sh is not bash, that would explain
your failure.
--
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
signature.asc
Description: OpenPGP digital signature