1 # $NetBSD: varname-dot-shell.mk,v 1.2 2020/08/23 09:28:52 rillig Exp $
3 # Tests for the special .SHELL variable, which contains the shell used for
4 # running the commands.
6 # This variable is read-only.
11 .if ${.SHELL} != ${ORIG_SHELL}
15 # Trying to delete the variable.
16 # This has no effect since the variable is not defined in the global context,
17 # but in the command-line context.
19 .SHELL= newly overwritten
20 .if ${.SHELL} != ${ORIG_SHELL}