mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Update copyright date to 2015
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
# ***********************IMPORTANT NMAP LICENSE TERMS************************
|
||||
# * *
|
||||
# * The Nmap Security Scanner is (C) 1996-2014 Insecure.Com LLC. Nmap is *
|
||||
# * The Nmap Security Scanner is (C) 1996-2015 Insecure.Com LLC. Nmap is *
|
||||
# * also a registered trademark of Insecure.Com LLC. This program is free *
|
||||
# * software; you may redistribute and/or modify it under the terms of the *
|
||||
# * GNU General Public License as published by the Free Software *
|
||||
@@ -115,7 +115,7 @@
|
||||
# * WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Nmap *
|
||||
# * license file for more details (it's in a COPYING file included with *
|
||||
# * Nmap, and also available from https://svn.nmap.org/nmap/COPYING *
|
||||
# * Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
|
||||
# * *
|
||||
# ***************************************************************************/
|
||||
|
||||
@@ -130,6 +130,7 @@ import sys
|
||||
VERSION = os.path.join("share", "zenmap", "config", "zenmap_version")
|
||||
VERSION_PY = os.path.join("zenmapCore", "Version.py")
|
||||
|
||||
|
||||
def update_version(base_dir, version):
|
||||
print ">>> Updating %s" % os.path.join(base_dir, VERSION)
|
||||
vf = open(os.path.join(base_dir, VERSION), "wb")
|
||||
@@ -140,6 +141,7 @@ def update_version(base_dir, version):
|
||||
print >> vf, "VERSION = \"%s\"" % version
|
||||
vf.close()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) != 2:
|
||||
print >> sys.stderr, "Usage: %s <version>" % sys.argv[0]
|
||||
|
||||
Reference in New Issue
Block a user