Be careful about file extensions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier 2006-07-16 23:19:03 +00:00
parent 27b3bd6a59
commit 2a1243f4c9

View File

@ -133,9 +133,18 @@ dospinport(){
copyfilelist $portfiles $APPDIR $TMPFILESDIR
pushd /tmp/wx$port
# use DOS line endings for all files for MSW archives.
# use DOS line endings for text files for MSW archives.
if [ $port = "msw" ]; then
unix2dos `cat $portfiles`
find . -name \*.txt -exec unix2dos {} \;
find . -name \*.htm* -exec unix2dos {} \;
find . -name \*.h -exec unix2dos {} \;
find . -name \*.c -exec unix2dos {} \;
find . -name \*.cpp -exec unix2dos {} \;
find . -name \*.cxx -exec unix2dos {} \;
find . -name \*.ini -exec unix2dos {} \;
find . -name \*.rc -exec unix2dos {} \;
find . -name \*.bkl -exec unix2dos {} \;
find . -name \*.tex -exec unix2dos {} \;
fi
echo "Creating wx$portname-$VERSION.zip..."
zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip .