bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[make] == unexpected operator


From: MaciekL
Subject: [make] == unexpected operator
Date: Thu, 25 Feb 2010 13:52:50 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

Hi,

i have a question abou [make],

/> cat Makefile:
---
.PHONY: all
all:
<tab>if [ "a" == "b" ]; then\
<tab>  echo banan;\
<tab>fi
---

/> make
---
if [ "a" == "b" ]; then\
          echo banan;\
        fi
[: 2: a: unexpected operator
---

What is that (unexpected operator) ?

OS:
Linux xxx 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010
i686 GNU/Linux

MAKE:
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-redhat-linux-gnu

Any idea ?

-- 
Maciek


reply via email to

[Prev in Thread] Current Thread [Next in Thread]