CVSROOT: filter_tags.sh - simplify

glen glen at pld-linux.org
Sat Sep 22 12:11:13 CEST 2007


Author: glen                         Date: Sat Sep 22 10:11:13 2007 GMT
Module: CVSROOT                       Tag: HEAD
---- Log message:
- simplify

---- Files affected:
CVSROOT:
   filter_tags.sh (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: CVSROOT/filter_tags.sh
diff -u CVSROOT/filter_tags.sh:1.19 CVSROOT/filter_tags.sh:1.20
--- CVSROOT/filter_tags.sh:1.19	Sat Sep 22 12:10:05 2007
+++ CVSROOT/filter_tags.sh	Sat Sep 22 12:11:08 2007
@@ -91,8 +91,8 @@
 		AC_ADMIN=1 ;;
 esac
 
-nfiles=$((`echo $* | wc -w`))
-limit=$((3+$MAX_FIL_REV_PARMS))
+nfiles=$(echo $* | wc -w)
+limit=$((3 + $MAX_FIL_REV_PARMS))
 if [ $nfiles -gt $limit ]; then
 	if [ "$LIMITED_BRANCH" = 1 ]; then
 		echo "Attempt to tag too many files ($nfiles; limit: $limit)"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/CVSROOT/filter_tags.sh?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list