mirror of
https://github.com/troglobit/finit.git
synced 2026-11-17 19:30:29 +00:00
Simplify banner further, let distributions patch us instead.
Revert crazy BANNER macro idea from 5ba7bc1. It is simply too difficult to
set -DBANNER='"Some distributions specific text"' in a parent Makefile
without entering Shell/Make escape hell ... instead, downstream will
have to patch the banner() function.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
bcfcafdb7c
commit
65f0be8a55
1 file changed
-4
@@ -145,11 +145,7 @@ static int run_loop(void)
|
|||||||
static void banner(void)
|
static void banner(void)
|
||||||
{
|
{
|
||||||
delline();
|
delline();
|
||||||
#ifdef BANNER
|
|
||||||
echo(BANNER);
|
|
||||||
#else
|
|
||||||
echo("Finit version " VERSION " (" WHOAMI ") " __DATE__ " " __TIME__);
|
echo("Finit version " VERSION " (" WHOAMI ") " __DATE__ " " __TIME__);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
|
|||||||
Reference in new issue
Block a user