robbat2     14/06/15 19:55:21

  Modified:             xenstored.initd xendomains.initd-r2
  Log:
  Fix bashisms.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.17                 app-emulation/xen-tools/files/xenstored.initd

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.17&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?rev=1.17&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd?r1=1.16&r2=1.17

Index: xenstored.initd
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v
retrieving revision 1.16
retrieving revision 1.17
diff -p -w -b -B -u -u -r1.16 -r1.17
--- xenstored.initd     23 Mar 2014 02:37:25 -0000      1.16
+++ xenstored.initd     15 Jun 2014 19:55:21 -0000      1.17
@@ -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



1.9                  app-emulation/xen-tools/files/xendomains.initd-r2

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2?rev=1.9&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2?rev=1.9&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2?r1=1.8&r2=1.9

Index: xendomains.initd-r2
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2,v
retrieving revision 1.8
retrieving revision 1.9
diff -p -w -b -B -u -u -r1.8 -r1.9
--- xendomains.initd-r2 27 Jul 2013 06:11:03 -0000      1.8
+++ xendomains.initd-r2 15 Jun 2014 19:55:21 -0000      1.9
@@ -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




Reply via email to