summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-01-23 21:37:11 +0000
committerMike Frysinger <vapier@gentoo.org>2014-01-23 21:37:11 +0000
commit6b7cf3e18d8c07624fa608f755afc832010db438 (patch)
tree420c7270500e0bcb7ff7d52c09e8b4a782b39926 /app-misc/lirc
parentcleanup old; stable amd64 x86 on security wrt bug 498546 (diff)
downloadgentoo-2-6b7cf3e18d8c07624fa608f755afc832010db438.tar.gz
gentoo-2-6b7cf3e18d8c07624fa608f755afc832010db438.tar.bz2
gentoo-2-6b7cf3e18d8c07624fa608f755afc832010db438.zip
Fix bashism with output redirect.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'app-misc/lirc')
-rw-r--r--app-misc/lirc/ChangeLog5
-rw-r--r--app-misc/lirc/files/lircd-0.8.6-r26
2 files changed, 7 insertions, 4 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog
index 36a559ced6d4..b68056025003 100644
--- a/app-misc/lirc/ChangeLog
+++ b/app-misc/lirc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/lirc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.246 2014/01/03 11:13:40 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.247 2014/01/23 21:37:11 vapier Exp $
+
+ 23 Jan 2014; Mike Frysinger <vapier@gentoo.org> files/lircd-0.8.6-r2:
+ Fix bashism with output redirect.
*lirc-0.9.0-r5 (03 Jan 2014)
diff --git a/app-misc/lirc/files/lircd-0.8.6-r2 b/app-misc/lirc/files/lircd-0.8.6-r2
index e651f19da50d..d6f16ba07b4e 100644
--- a/app-misc/lirc/files/lircd-0.8.6-r2
+++ b/app-misc/lirc/files/lircd-0.8.6-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.6-r2,v 1.1 2012/07/19 19:52:17 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.6-r2,v 1.2 2014/01/23 21:37:11 vapier Exp $
PIDFILE=/var/run/lirc/${SVCNAME}.pid
: ${LIRCD_SYMLINKFILE:=/dev/lircd}
@@ -20,7 +20,7 @@ start() {
for retval in ${LIRCD_SET_SYSCLASSRCS} ; do
if [ -e /sys/class/rc/${retval}/protocols ] && \
- grep 'lirc' /sys/class/rc/${retval}/protocols &>/dev/null ; then
+ grep -qs 'lirc' /sys/class/rc/${retval}/protocols ; then
einfo "Setting lirc protocol active for ${retval}"
echo lirc >/sys/class/rc/${retval}/protocols
fi