Changeset 9498 in project


Ignore:
Timestamp:
03/12/08 00:51:02 (12 years ago)
Author:
elf
Message:

annoying error message gone

Location:
chicken/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/NEWS

    r9497 r9498  
    113.0.7pre
    22
     3- svnrevision.sh - cleaned logic to prevent invalid error message
    34- csc - fixed bug preventing static linking of executables (build order issues)
    45
  • chicken/trunk/svnrevision.sh

    r9341 r9498  
    2727
    2828
    29 if test -d .svn; then
    30     if test -x "`which svn`" ; then
    31         rev=`svn info | sed -n -e 's/Revision: \([0-9]*\)/\1/p'`
     29if test -d ".svn" ;
     30then
     31    if test -x "`which svn`" ;
     32    then
     33        rev="`svn info | sed -n -e 's/Revision: \([0-9]*\)/\1/p'`"
    3234    else
    33         rev=`cat .svn/entries | sed -n -e '4 s/^\([0-9]*\)$/\1/p'`
     35        rev="`cat .svn/entries | sed -n -e '4 s/^\([0-9]*\)$/\1/p'`"
    3436    fi
    3537else
    36     rev='0'
     38    rev="0"
    3739fi
    3840
    39 if test ! "(" -e buildsvnrevision ")" -o "(" "`cat buildsvnrevision`" != "$rev" ")"; then
    40     echo "$rev" >buildsvnrevision
     41if test -e "buildsvnrevision" ;
     42then
     43    if test "`cat buildsvnrevision`" \!= "${rev}" ;
     44    then
     45        echo "${rev}" > buildsvnrevision
     46    fi
     47else
     48    echo "${rev}" > buildsvnrevision
    4149fi
Note: See TracChangeset for help on using the changeset viewer.