diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2014-06-15 19:55:21 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2014-06-15 19:55:21 +0000 |
commit | e3c3747b4e58dfbe7ba290794789700b2e8cf36d (patch) | |
tree | 402f0d00e2b99c390087cbb453e7b929868e0a44 /app-emulation/xen-tools | |
parent | Version bump (diff) | |
download | gentoo-2-e3c3747b4e58dfbe7ba290794789700b2e8cf36d.tar.gz gentoo-2-e3c3747b4e58dfbe7ba290794789700b2e8cf36d.tar.bz2 gentoo-2-e3c3747b4e58dfbe7ba290794789700b2e8cf36d.zip |
Fix bashisms.
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-emulation/xen-tools')
-rw-r--r-- | app-emulation/xen-tools/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/xen-tools/files/xendomains.initd-r2 | 6 | ||||
-rwxr-xr-x | app-emulation/xen-tools/files/xenstored.initd | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/app-emulation/xen-tools/ChangeLog b/app-emulation/xen-tools/ChangeLog index 093e10528cdf..bfa49e067f31 100644 --- a/app-emulation/xen-tools/ChangeLog +++ b/app-emulation/xen-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/xen-tools # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.246 2014/06/14 07:32:50 dlan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.247 2014/06/15 19:55:21 robbat2 Exp $ + + 15 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> files/xendomains.initd-r2, + files/xenstored.initd: + Fix bashisms. *xen-tools-4.4.0-r6 (14 Jun 2014) *xen-tools-4.3.2-r4 (14 Jun 2014) diff --git a/app-emulation/xen-tools/files/xendomains.initd-r2 b/app-emulation/xen-tools/files/xendomains.initd-r2 index 103384c91190..8c28f20c3890 100644 --- a/app-emulation/xen-tools/files/xendomains.initd-r2 +++ b/app-emulation/xen-tools/files/xendomains.initd-r2 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2,v 1.8 2013/07/27 06:11:03 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2,v 1.9 2014/06/15 19:55:21 robbat2 Exp $ extra_commands="status" @@ -77,7 +77,7 @@ stop() { # Stop all domains with config files in AUTODIR. DOMAINS="$(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort -r)" - if [[ "$PARALLEL_SHUTDOWN" == "yes" ]] ; then + if [ "$PARALLEL_SHUTDOWN" = "yes" ] ; then for dom in $DOMAINS ; do name=$(get_domname ${dom}) if is_running ${name} ; then diff --git a/app-emulation/xen-tools/files/xenstored.initd b/app-emulation/xen-tools/files/xenstored.initd index b7e32e810571..05bcbb2725c2 100755 --- a/app-emulation/xen-tools/files/xenstored.initd +++ b/app-emulation/xen-tools/files/xenstored.initd @@ -22,7 +22,7 @@ start() { --pidfile /run/xenstored.pid \ -- --pid-file=/run/xenstored.pid \ $XENSTORED_OPTS - until xenstore-exists / || ((15 < ++i)) + until xenstore-exists / || $((15 < ++i)) do echo -n . sleep 1 |