From 1b55f09c4ea40d1a808ba14f4d17445faefcc035 Mon Sep 17 00:00:00 2001 From: lantz Date: Sat, 13 Mar 2021 11:08:02 -0800 Subject: [PATCH] Fix mnexec -v (#1053) We were discarding the version number sent to stderr fixes #1052 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ec89aa1..bffc9bb 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,8 @@ slowtest: $(MININET) mininet/examples/test/runner.py -v mnexec: mnexec.c $(MN) mininet/net.py - $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION=\"`PYTHONPATH=. $(PYMN) --version`\" $< -o $@ + $(CC) $(CFLAGS) $(LDFLAGS) \ + -DVERSION=\"`PYTHONPATH=. $(PYMN) --version 2>&1`\" $< -o $@ install-mnexec: $(MNEXEC) install -D $(MNEXEC) $(BINDIR)/$(MNEXEC)