author | Junio C Hamano <junkio@cox.net> | |
Sun, 9 Oct 2005 19:52:35 +0000 (12:52 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 9 Oct 2005 19:55:49 +0000 (12:55 -0700) | ||
commit | f7c153431b4049e7697664dee4a3d71013422f9d | |
tree | cfdecf25ec62dc79e65857c7b825ca7bb4c9b21c | tree | snapshot |
parent | d2b8593fd3754cf2e0b9a121fe6ba63bfefa3a47 | commit | diff |
Makefile: avoid error message from 'uname -o'
The platform specific tweaking part was using 'uname -o' which
is not always available. Squelch error message from it.
It was suggested to chain the if..else, but I chose not to, because
maintaining the nested if..else if..else..endif endif to match is a
pain. If we had "elif", things would have been different, though.
While we are at it, try not to invoke 'uname -s' for each platform
candidate.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The platform specific tweaking part was using 'uname -o' which
is not always available. Squelch error message from it.
It was suggested to chain the if..else, but I chose not to, because
maintaining the nested if..else if..else..endif endif to match is a
pain. If we had "elif", things would have been different, though.
While we are at it, try not to invoke 'uname -s' for each platform
candidate.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history |