[BASH] make: pwd: Command not found

i have this error compiling asteriks and zaptel

lines in Makefile

   PWD:=$(shell pwd)
   ifeq (2.6,shell echo $(KVERS) | ...)

fail with “command not found” and exit with “make: *** [linux26] error 127”

how to resolve?, i’m using Centos 4.2, bash works fine at command line

[quote=“matherren”]i have this error compiling asteriks and zaptel

lines in Makefile

   PWD:=$(shell pwd)
   ifeq (2.6,shell echo $(KVERS) | ...)

fail with “command not found” and exit with “make: *** [linux26] error 127”

how to resolve?, i’m using Centos 4.2, bash works fine at command line[/quote]

Any Idea?

does pwd work at the command line ?

Yes, i tested it and work fine!