mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 03:31:19 +02:00
hmtl docs: use bash substitution instead of sed to remove extension from John Stoneham
git-svn-id: trunk@17013 -
This commit is contained in:
parent
151fa9b63d
commit
5d17b30514
@ -27,7 +27,8 @@ cd -
|
||||
# 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=${unit%.pp}
|
||||
ShortFile=${ShortFile%.pas}
|
||||
DescrFiles="$DescrFiles --descr=../$XMLSrcDir$ShortFile.xml"
|
||||
done
|
||||
|
||||
|
@ -30,7 +30,8 @@ cd -
|
||||
# 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=${unit%.pp}
|
||||
ShortFile=${ShortFile%.pas}
|
||||
DescrFiles="$DescrFiles --descr=../$XMLSrcDir$ShortFile.xml"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user