[crda] Correct a typo in setregdomain

John W. Linville linville at fedoraproject.org
Thu Jan 23 15:57:08 UTC 2014


commit 61380c8cf84f1b62aa078580dfcaf466132591b7
Author: John W. Linville <linville at tuxdriver.com>
Date:   Thu Jan 23 10:57:26 2014 -0500

    Correct a typo in setregdomain

 crda.spec    |    5 ++++-
 setregdomain |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/crda.spec b/crda.spec
index 531ea18..8e32088 100644
--- a/crda.spec
+++ b/crda.spec
@@ -3,7 +3,7 @@
 
 Name:           crda
 Version:        %{crda_version}_%{regdb_version}
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Regulatory compliance daemon for 802.11 wireless networking
 
 Group:          System Environment/Base
@@ -99,6 +99,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jan 23 2014 John W. Linville <linville at redhat.com> - 1.1.3_2013.11.27-3
+- Correct a typo in setregdomain
+
 * Fri Jan 17 2014 John W. Linville <linville at redhat.com> - 1.1.3_2013.11.27-2
 - Add patch for regdbdump to display DFS region
 
diff --git a/setregdomain b/setregdomain
index 3289260..1e846e6 100755
--- a/setregdomain
+++ b/setregdomain
@@ -40,7 +40,7 @@ then
 	fi
 fi
 
-if [ -f $TZ ]
+if [ -f "$LOCALTIME" ]
 then
 	ZONE=$(readlink $LOCALTIME)
 	ZONE=${ZONE#/usr/share/zoneinfo/}


More information about the scm-commits mailing list