]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - usr.bin/bmake/tests/shell/builtin/Makefile.test
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / usr.bin / bmake / tests / shell / builtin / Makefile.test
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 # $FreeBSD$
9
10 .SHELL: path="${.CURDIR}/sh"
11
12 .PHONY: builtin no-builtin
13
14 builtin:
15         @exec ls -d .
16
17 no-builtin:
18         @ls -d .