Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /svnutils/trunk/src/

svnutils
Discussion topic

Back to topic list

CVS update: /svnutils/trunk/src/

Author sunny
Full name Øyvind A. Holm
Date 2004-06-20 21:40:45 PDT
Message User: sunny
Date: 04/06/20 21:40:45

Modified:
 /svnutils/trunk/src/
  svnmimeset.sh

Log:
 r41 | sunny | 2004-06-21 06:39:56 +0200 (Mon, 21 Jun 2004) | 6 lines
 Changed paths:
    M /trunk/src/svnmimeset.sh
 
 * src/svnmimeset.sh
   Removed a ^ from expr regexp because of this warning:
 
     expr: warning: unportable BRE: `^.*\.\([^.]*\)$': using `^' as the first character
     of the basic regular expression is not portable; it is being ignored

File Changes:

Directory: /svnutils/trunk/src/
===============================

File [changed]: svnmimeset.sh
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​svnmimeset.sh?r1=1.1​&r2=1.2
Delta lines: +1 -1
-------------------
--- svnmimeset.sh 20 Jun 2004 11:58:05 -0000 1.1
+++ svnmimeset.sh 21 Jun 2004 04:40:45 -0000 1.2
@@ -73,7 +73,7 @@
 
 find ${DIR} \( \! -name '.svn' -o -prune \) -a -type f -print \
   | while read FILE; do
- SUFFIX=`expr "$FILE" : "^.*\.\([^.]*\)$"`
+ SUFFIX=`expr "$FILE" : ".*\.\([^.]*\)$"`
     if [ "$SUFFIX" != "" ]; then
     for MIME in ${MIMES}; do
         scan_types $MIME $FILE $SUFFIX




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@svnu​tils.tigris.org
For additional commands, e-mail: cvs-help at svnutils dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /svnutils/trunk/src/ sunny Øyvind A. Holm 2004-06-20 21:40:45 PDT
Messages per page: