Skip to content

Commit

Permalink
Fix mnexec -v (mininet#1053)
Browse files Browse the repository at this point in the history
We were discarding the version number sent to stderr

fixes mininet#1052
  • Loading branch information
lantz authored Mar 13, 2021
1 parent d7f399d commit 1b55f09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b55f09

Please sign in to comment.