From 2a1243f4c968ccb700a203549b1bc557cd55866c Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Sun, 16 Jul 2006 23:19:03 +0000 Subject: [PATCH] Be careful about file extensions. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/scripts/create_archives.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/distrib/scripts/create_archives.sh b/distrib/scripts/create_archives.sh index 8ec90c1b4f..ae1b44dbe4 100755 --- a/distrib/scripts/create_archives.sh +++ b/distrib/scripts/create_archives.sh @@ -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 .