]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Makefile: avoid error message from 'uname -o'
authorJunio C Hamano <junkio@cox.net>
Sun, 9 Oct 2005 19:52:35 +0000 (12:52 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 9 Oct 2005 19:55:49 +0000 (12:55 -0700)
commitf7c153431b4049e7697664dee4a3d71013422f9d
treecfdecf25ec62dc79e65857c7b825ca7bb4c9b21c
parentd2b8593fd3754cf2e0b9a121fe6ba63bfefa3a47
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>
Makefile