Changeset 565

Show
Ignore:
Timestamp:
09/07/06 21:14:16 (2 years ago)
Author:
tg
Message:

might fix PR#74

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/scripts/scan-tools.sh

    r358 r565  
    108108        echo You must install flex to continue. 
    109109        out=1 
    110 fi 
    111  
    112 echo '%%' | flex - 
    113 if fgrep _POSIX_SOURCE lex.yy.c; then 
    114         echo Your lexer \(flex\) contains a broken skeleton. 
    115         if [[ $NO_ERROR = 1 ]]; then 
    116                 echo WARNING: continue at your own risk
    117                 echo Some packages may be broken. 
    118         else 
    119                 echo You can continue the build by issuing \'make prereq-noerror\' 
    120                 echo However, several packages may faild to build correctly. 
    121                 out=1 
     110else 
     111        echo '%%' | flex - 
     112        if fgrep _POSIX_SOURCE lex.yy.c; then 
     113                echo Your lexer \(flex\) contains a broken skeleton. 
     114               if [[ $NO_ERROR = 1 ]]; then 
     115                       echo WARNING: continue at your own risk. 
     116                       echo Some packages may be broken
     117                else 
     118                       echo You can continue the build by issuing \'make prereq-noerror\' 
     119                       echo However, several packages may faild to build correctly. 
     120                       out=1 
     121                fi 
    122122        fi 
    123123fi