Makefile: use SHELL_PATH when running generate-cmdlist.sh
authorAlejandro R. Sedeño <asedeno@mit.edu>
Thu, 10 Sep 2015 23:37:07 +0000 (19:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Sep 2015 00:49:00 +0000 (17:49 -0700)
commit57cee8ac5f108f1e4a51372b37c82a72b0407042
tree0ecd5e6e2440e12e2b34d83a33d848df9b5c5b21
parent82aec45b7d9dd235b6a490d2c93600e13c36c40d
Makefile: use SHELL_PATH when running generate-cmdlist.sh

Non-POSIX shells, such as /bin/sh on SunOS, do not support $((...))
arithmetic expansion or $(...) command substitution needed by
generate-cmdlist.sh.  Make sure that we use a POSIX compliant shell
$(SHELL_PATH) when running generate-cmdlist.sh.

Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
Acked-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile