summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rwxr-xr-xhost/fix-copyright-years1
-rw-r--r--host/include/uhd/types/sensors.hpp2
-rw-r--r--host/lib/types/clock_config.cpp2
-rw-r--r--host/lib/types/device_addr.cpp2
-rw-r--r--host/lib/types/mac_addr.cpp2
-rw-r--r--host/lib/types/serial.cpp2
-rw-r--r--host/lib/types/time_spec.cpp2
-rw-r--r--host/lib/types/tune.cpp2
-rw-r--r--host/lib/types/types.cpp2
9 files changed, 9 insertions, 8 deletions
diff --git a/host/fix-copyright-years b/host/fix-copyright-years
index 8de7d74ba..f5a3d5822 100755
--- a/host/fix-copyright-years
+++ b/host/fix-copyright-years
@@ -45,6 +45,7 @@ def fix_co_years(files):
year_now = datetime.datetime.now().year
all_years = min(log_years), max(list(log_years)+[year_now]) #add the current year
all_years_str = '%s-%s'%all_years
+ if all_years[0] == all_years[1]: all_years_str = str(all_years[0])
new_text = ''.join(lines[:num] + [line.replace(co_years_str, all_years_str)] + lines[num+1:])
open(file, 'w').write(new_text)
diff --git a/host/include/uhd/types/sensors.hpp b/host/include/uhd/types/sensors.hpp
index d400b8944..e1a21e4c9 100644
--- a/host/include/uhd/types/sensors.hpp
+++ b/host/include/uhd/types/sensors.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/host/lib/types/clock_config.cpp b/host/lib/types/clock_config.cpp
index db40fb045..3373b97b4 100644
--- a/host/lib/types/clock_config.cpp
+++ b/host/lib/types/clock_config.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/host/lib/types/device_addr.cpp b/host/lib/types/device_addr.cpp
index 098fb3bc6..4fdce097b 100644
--- a/host/lib/types/device_addr.cpp
+++ b/host/lib/types/device_addr.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/host/lib/types/mac_addr.cpp b/host/lib/types/mac_addr.cpp
index d16045a5d..cf3c3fa97 100644
--- a/host/lib/types/mac_addr.cpp
+++ b/host/lib/types/mac_addr.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/host/lib/types/serial.cpp b/host/lib/types/serial.cpp
index 5923e9fb2..9acf7156a 100644
--- a/host/lib/types/serial.cpp
+++ b/host/lib/types/serial.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/host/lib/types/time_spec.cpp b/host/lib/types/time_spec.cpp
index d3aba5bdd..f39625a11 100644
--- a/host/lib/types/time_spec.cpp
+++ b/host/lib/types/time_spec.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/host/lib/types/tune.cpp b/host/lib/types/tune.cpp
index 5a1654932..601bc20e8 100644
--- a/host/lib/types/tune.cpp
+++ b/host/lib/types/tune.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/host/lib/types/types.cpp b/host/lib/types/types.cpp
index 69a1e40e5..34d5947eb 100644
--- a/host/lib/types/types.cpp
+++ b/host/lib/types/types.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by