SOURCES: ypbind.init - use shell $(()) instead of expr to do the math
baggins
baggins at pld-linux.org
Fri Sep 7 12:43:36 CEST 2007
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
More information about the pld-cvs-commit
mailing list