author | Brandon Casey <casey@nrlssc.navy.mil> | |
Tue, 20 Jan 2009 01:44:03 +0000 (19:44 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Jan 2009 06:39:38 +0000 (22:39 -0800) | ||
commit | b56c79ccea73fe53af3f3a3cc5ab7f5417fc898d | |
tree | f339d78a2d70a27c45fd06e433b2d354de242a5a | tree | snapshot |
parent | 35641310afa04aaa0ba5f31be6bdb2cf23ec100f | commit | diff |
Makefile: use shell for-loop rather than Make's foreach loop during install
The install target uses a foreach loop to generate a single long shell
command line to handle installation of the built-in git commands. The
maximum length of the argument list varies by platform, and this use of
foreach quickly grows the length of the argument list. Current git can
exceed the default maximum argument list length on IRIX 6.5 of 20480
depending on the installation path.
Rather than using make's foreach loop to pre-generate the shell command
line, use a shell for-loop and allow the shell to iterate through each of
the built-in commands.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The install target uses a foreach loop to generate a single long shell
command line to handle installation of the built-in git commands. The
maximum length of the argument list varies by platform, and this use of
foreach quickly grows the length of the argument list. Current git can
exceed the default maximum argument list length on IRIX 6.5 of 20480
depending on the installation path.
Rather than using make's foreach loop to pre-generate the shell command
line, use a shell for-loop and allow the shell to iterate through each of
the built-in commands.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history |