mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
configure: Remove --with-build-number.
From early days, Nicira used the --with-build-number option to configure to stamp our internal builds. We've since switched to another scheme, so this option is obsolete. Good riddance. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -64,8 +64,4 @@ ALL_LOCAL += $(srcdir)/python/ovs/version.py
|
||||
$(srcdir)/python/ovs/version.py: config.status
|
||||
$(ro_shell) > $(@F).tmp
|
||||
echo 'VERSION = "$(VERSION)"' >> $(@F).tmp
|
||||
if [ "$(BUILDNR)" != "0" ]; \
|
||||
then echo 'BUILDNR = "+build$(BUILDNR)"' >> $(@F).tmp; \
|
||||
else echo 'BUILDNR = ""' >> $(@F).tmp; \
|
||||
fi
|
||||
if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi
|
||||
|
@@ -57,9 +57,8 @@ def _unixctl_help(conn, unused_argv, unused_aux):
|
||||
|
||||
def _unixctl_version(conn, unused_argv, unused_aux):
|
||||
assert isinstance(conn, UnixctlConnection)
|
||||
version = "%s (Open vSwitch) %s%s" % (ovs.util.PROGRAM_NAME,
|
||||
ovs.version.VERSION,
|
||||
ovs.version.BUILDNR)
|
||||
version = "%s (Open vSwitch) %s" % (ovs.util.PROGRAM_NAME,
|
||||
ovs.version.VERSION)
|
||||
conn.reply(version)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user