fixed fpc_crosswin32 to not rename windres

git-svn-id: trunk@7745 -
This commit is contained in:
mattias 2005-09-19 20:37:30 +00:00
parent 03ef8b03d2
commit 14358611e6

View File

@ -133,7 +133,10 @@ if [ $BuildCrossWin32RPM = "yes" ]; then
cd ${BinUtilsDir}
for binutility in $(ls -B ${BinUtilsPrefix}*); do
NewName=$(echo $binutility | sed -e "s#$BinUtilsPrefix#fpc-${TargetCPU}-${TargetOS}-#")
NewName=$(echo $binutility | sed -e "s#^$BinUtilsPrefix##")
if [ ! $NewName = "windres" ]; then
NewName="fpc-${TargetCPU}-${TargetOS}-$NewName"
fi
cp ${BinUtilsDir}${binutility} ${BinDir}${NewName}
done
cd -