r5491 - in glibc-package/branches/eglibc-2.17/debian: . debhelper.in
Author: adconrad
Date: 2013-02-15 17:59:03 +0000 (Fri, 15 Feb 2013)
New Revision: 5491
Modified:
glibc-package/branches/eglibc-2.17/debian/changelog
glibc-package/branches/eglibc-2.17/debian/debhelper.in/libc.postinst
Log:
debian/debhelper.in/libc.postint: Switch from 'awk gsub' to 'td -d'
to avoid spewing warning when the awk alternative points to gawk
Modified: glibc-package/branches/eglibc-2.17/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-12 11:04:20 UTC (rev 5490)
+++ glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-15 17:59:03 UTC (rev 5491)
@@ -8,6 +8,10 @@
patches/hurd-i386/unsubmitted-setitimer_fix.diff into
patches/hurd-i386/tg-setitimer.diff.
+ [ Adam Conrad ]
+ * debian/debhelper.in/libc.postint: Switch from 'awk gsub' to 'td -d'
+ to avoid spewing warning when the awk alternative points to gawk
+
-- Adam Conrad <adconrad@0c3.net> Thu, 07 Feb 2013 00:44:54 -0700
eglibc (2.17-0experimental2) experimental; urgency=low
Modified: glibc-package/branches/eglibc-2.17/debian/debhelper.in/libc.postinst
===================================================================
--- glibc-package/branches/eglibc-2.17/debian/debhelper.in/libc.postinst 2013-02-12 11:04:20 UTC (rev 5490)
+++ glibc-package/branches/eglibc-2.17/debian/debhelper.in/libc.postinst 2013-02-15 17:59:03 UTC (rev 5491)
@@ -229,7 +229,7 @@
TELINIT=no
else
if [ -x "`which initctl`" ]; then
- UPSTART=$(initctl version 2>/dev/null | awk '/upstart/ {gsub("\)",""); print $3}')
+ UPSTART=$(initctl version 2>/dev/null | awk '/upstart/ {print $3}' | tr -d ')')
if dpkg --compare-versions "$UPSTART" lt-nl 1.6.1; then
# This is an old upstart that can't re-exec statefully:
TELINIT=no
Reply to: