[Omake] PATH
David Kågedal
davidk at lysator.liu.se
Thu Jun 14 07:39:19 PDT 2007
Is the following OMakefile supposed to work if there is a program
called "xxx" in the same directory? Note that you should not have "."
in your PATH to try this.
----------------------------------
setenv(PATH, .:$(getenv PATH))
bar :
println(PATH = $(getenv PATH))
xxx > $@
.DEFAULT: bar
----------------------------------
I get "command not found in PATH: xxx", but I wonder what PATH it is
searching. If I change "xxx" to "env", I can see that the environment
does indeed have the added ".".
--
David Kågedal
More information about the Omake
mailing list