xref: /freebsd/usr.bin/bmake/tests/shell/builtin/Makefile.test (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1#
2# In compat mode (the default without -j) a line that contains no shell
3# meta characters and no shell builtins is not passed to the shell but
4# executed directly. In our example the ls line without meta characters
5# will really execute ls, while the line with meta characters will execute
6# our special shell.
7#
8
9.SHELL: path="${.CURDIR}/sh"
10
11.PHONY: builtin no-builtin
12
13builtin:
14	@exec ls -d .
15
16no-builtin:
17	@ls -d .
18