]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed version of unix2dos conversion.
authorKevin Ollivier <kevino@theolliviers.com>
Tue, 18 Jul 2006 06:54:02 +0000 (06:54 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Tue, 18 Jul 2006 06:54:02 +0000 (06:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/scripts/create_archives.sh

index 8bbacd6e92cc7cc088e20dc054cad18c9136e6ca..3af710e81c8a98ee2821297e9c27a0e052895538 100755 (executable)
@@ -131,11 +131,20 @@ dospinport(){
     mkdir -p $TMPFILESDIR
 
     copyfilelist $portfiles $APPDIR $TMPFILESDIR
-    
+
+    if [ $port = "msw" ]; then
+        FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec distrib/scripts/is_text.sh {} \; -print \)`
+        echo "$FILES" > /tmp/textfiles
+    fi
+
     pushd /tmp/wx$port
     # use DOS line endings for text files for MSW archives.
     if [ $port = "msw" ]; then
-        find . -type f \( -path '*/CVS/*' -prune -o -exec $APPDIR/distrib/scripts/is_text.sh {} \; -print \)
+        pushd /tmp/wx$port/wxWidgets-$VERSION
+        for file in `cat /tmp/textfiles`; do
+            unix2dos $file
+        done
+        popd
     fi
     echo "Creating wx$portname-$VERSION.zip..."
     zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip .