diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-08-07 14:06:26 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-08 16:15:17 -0700 |
commit | 6dc4627ef4eb40aeb9b328270b189ca27c061f7a (patch) | |
tree | 21fbe90a14b8575244ee8b65cc0286d61f06df39 /ctype.c | |
parent | bash: remove redundant check for 'git stash apply' options (diff) | |
download | tgif-6dc4627ef4eb40aeb9b328270b189ca27c061f7a.tar.xz |
Makefile: add a target which will abort compilation with ancient shells
This adds a make target which can be used to try to execute certain shell
constructs which are required for compiling and running git.
This patch provides a test for the $() notation for command substition
which is used in the Makefile and extensively in the git scripts.
The make target is named in such a way as to be a hint to the user that
SHELL_PATH should be set to an appropriate shell. If the shell command
fails, the user should receive a message similar to the following:
make: *** [please_set_SHELL_PATH_to_a_more_modern_shell] Error 2
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ctype.c')
0 files changed, 0 insertions, 0 deletions