Author: baggins                      Date: Fri Sep  7 10:43:36 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use shell $(()) instead of expr to do the math

---- Files affected:
SOURCES:
   ypbind.init (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SOURCES/ypbind.init
diff -u SOURCES/ypbind.init:1.23 SOURCES/ypbind.init:1.24
--- SOURCES/ypbind.init:1.23    Mon Aug 27 22:33:40 2007
+++ SOURCES/ypbind.init Fri Sep  7 12:43:31 2007
@@ -63,7 +63,7 @@
                        until ypwhich >/dev/null 2>&1 || [ "$times" = "10" ]; do
                                echo -n "."
                                sleep 1
-                               times=$(expr $times + 1)
+                               times=$((times + 1))
                        done
                        ypwhich
                        if [ $? -ne 0 ]; then
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ypbind.init?r1=1.23&r2=1.24&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to