diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2009-02-24 17:25:01 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2009-02-24 17:25:01 +0000 |
commit | 5020456fa6a6d48fa51a71e7d7ea1c670d50c0df (patch) | |
tree | eb340843b52b3b4b80a544efc96a02798e589409 /net-nds | |
parent | Marked ~ppc for bug #259906. (diff) | |
download | gentoo-2-5020456fa6a6d48fa51a71e7d7ea1c670d50c0df.tar.gz gentoo-2-5020456fa6a6d48fa51a71e7d7ea1c670d50c0df.tar.bz2 gentoo-2-5020456fa6a6d48fa51a71e7d7ea1c670d50c0df.zip |
Remove bashism in init.d file
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/ypbind/ChangeLog | 7 | ||||
-rw-r--r-- | net-nds/ypbind/files/ypbind.initd | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/net-nds/ypbind/ChangeLog b/net-nds/ypbind/ChangeLog index 32f93facfc71..eaf800ae8cf1 100644 --- a/net-nds/ypbind/ChangeLog +++ b/net-nds/ypbind/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-nds/ypbind -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.45 2008/11/20 21:22:07 jer Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.46 2009/02/24 17:25:01 drizzt Exp $ + + 24 Feb 2009; Timothy Redaelli <drizzt@gentoo.org> files/ypbind.initd: + Remove bashism in init.d file 20 Nov 2008; Jeroen Roovers <jer@gentoo.org> ypbind-1.19.1.ebuild: Fix quoting (bug #247610). diff --git a/net-nds/ypbind/files/ypbind.initd b/net-nds/ypbind/files/ypbind.initd index e5c879097b37..f227a4172ecb 100644 --- a/net-nds/ypbind/files/ypbind.initd +++ b/net-nds/ypbind/files/ypbind.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.initd,v 1.5 2007/08/15 17:54:19 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.initd,v 1.6 2009/02/24 17:25:01 drizzt Exp $ depend() { need net portmap @@ -19,7 +19,7 @@ start() { notfound=1 for i in 0 1 2 3 4 5 6 7 8 9 do - ypwhich &>/dev/null && { notfound=0; break; } + ypwhich >/dev/null 2>&1 && { notfound=0; break; } sleep 1 done if [ $notfound -eq 1 ] ; then |