On Wed, Oct 15, 2008 at 2:42 PM, Vincent Snijders <
[EMAIL PROTECTED]> wrote:

> John Stoneham schreef:
>
>
> I did not notice that, because you change still did contain the sed call:
>
> # create description file list
> DescrFiles=''
> for unit in $UnitList; do
>   ShortFile=`echo $unit | sed -e 's/\.pp\b//g' -e 's/\.pas\b//g'`
>   ShortFile=${ShortFile%.pp}
>   ShortFile=${ShortFile%.pas}
>   DescrFiles="$DescrFiles --descr=../$XMLSrcDir$ShortFile.xml"
> done
>

The patch in my previous email removes the sed call, so the loop now looks
like this:
DescrFiles=''
for unit in $UnitList; do
  ShortFile=${unit%.pp}
  ShortFile=${ShortFile%.pas}
  DescrFiles="$DescrFiles --descr=../$XMLSrcDir$ShortFile.xml"
done


-- 
_| ( ) |-| |\|
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to