summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2017-12-14 21:23:34 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2017-12-14 21:23:34 +0000
commit39d8550a807873a2267e759bed80cbaafa5243e2 (patch)
treed7d3fd35d36e4584a576965164d5d6ef9b581c1b /debian
parentef3d137a646fa8309e1ff5184e3e145eef40cc4d (diff)
downloaddnsmasq-39d8550a807873a2267e759bed80cbaafa5243e2.tar.gz
Run Debian startup regex in "C" locale.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/init2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 9881c67..e0d2cf4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
dnsmasq (2.79-1) unstable; urgency=low
* New upstream.
- * Fix trust-anchor regex in init script.
+ * Fix trust-anchor regex in init script. (closes: #884347)
-- Simon Kelley <simon@thekelleys.org.uk> Tue, 7 Sep 2017 22:47:01 +0000
diff --git a/debian/init b/debian/init
index f72dc0d..bafbca1 100644
--- a/debian/init
+++ b/debian/init
@@ -111,7 +111,7 @@ DNSMASQ_OPTS="$DNSMASQ_OPTS --local-service"
ROOT_DS="/usr/share/dns/root.ds"
if [ -f $ROOT_DS ]; then
- DNSMASQ_OPTS="$DNSMASQ_OPTS `sed -rne "s/^([.a-zA-Z0-9]+)([[:space:]]+[0-9]+)*([[:space:]]+IN)*[[:space:]]+DS[[:space:]]+/--trust-anchor=\1,/;s/[[:space:]]+/,/gp" $ROOT_DS | tr '\n' ' '`"
+ DNSMASQ_OPTS="$DNSMASQ_OPTS `env LC_ALL=C sed -rne "s/^([.a-zA-Z0-9]+)([[:space:]]+[0-9]+)*([[:space:]]+IN)*[[:space:]]+DS[[:space:]]+/--trust-anchor=\1,/;s/[[:space:]]+/,/gp" $ROOT_DS | tr '\n' ' '`"
fi
start()