tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bmake: variable assignments on command line non-overridable?
> I find it hard to understand what you mean. Could you illustrate it
> with some examples of what you're trying to do, and what happens?
$ cat >x.mk <<"EOF"
> #!/usr/pkg/bin/bmake -f
> foo= bar
> default:
> echo ${foo}
> EOF
$ chmod +x x.mk
$ ./x.mk
echo bar
bar
$ ./x.mk foo=baz
echo baz
baz
Home |
Main Index |
Thread Index |
Old Index