[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: May be bug in export PATH and $(shell ...).
From: |
Oleksandr Gavenko |
Subject: |
Re: May be bug in export PATH and $(shell ...). |
Date: |
Fri, 11 Jun 2010 11:42:49 +0300 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
On 11.06.2010 11:29, Oleksandr Gavenko wrote:
Just do:
$ mkdir test
$ cat <<EOF >test/test.sh
#!/bin/sh
echo I am HERE
EOF
$ cat <<EOF >Makefile
export PATH := test:$(PATH)
$(shell test.sh)
all:
test.sh
EOF
$ make
make: temp.sh: Command not found # from $(shell ...)
temp.sh
I am HERE # from target command
Sorry for temp.sh / test.sh naming. All time expect 'test.sh'.
Bad copy/paste.
--
С уважением, Александр Гавенко.