Changeset 15268


Ignore:
Timestamp:
06/13/13 17:30:33 (12 years ago)
Author:
Eric.Larour
Message:

CHG: fixed cccl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/cccl/issm/cccl

    r15267 r15268  
    9090           include=`cygpath -m "$include"`
    9191           include="/I\"$include\""
    92            includeopts="$include $includeopts"
     92           includeopts="$includeopts $include"
    9393   ;;
    9494        -L*)
    9595                library=`echo $1 | sed 's/-L//g'`
    96       library=`cygpath -m $library`
     96                library=`cygpath -m $library`
    9797                string="/link /LIBPATH:\"$library\""
    9898                opts="$opts $string"
     
    108108done
    109109                       
    110 echo "$prog "$includeopts" $opts /nologo"
    111 if test -e "$includeopts";
    112 then
    113         #If includeopts is not empty, include it, we add the double quotes for voodoo magic, do not mess with that
    114         $prog "$includeopts" $opts /nologo
    115 else
    116         #If empty, do not include it, because the double quotes will mess it up.
    117         $prog $opts /nologo
    118 fi
     110#pass all our processing through the echo command, so we are sure that the string has no quirk,
     111#and that once passed by exec to cl, everything works fine.
     112command=`echo "$prog "$includeopts" $opts /nologo"`
     113exec $command
Note: See TracChangeset for help on using the changeset viewer.