Author: toshok
Date: 2006-12-17 13:40:30 -0500 (Sun, 17 Dec 2006)
New Revision: 69625

Modified:
   trunk/mcs/class/Managed.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/build-csproj2k5
Log:
2006-12-17  Chris Toshok  <[EMAIL PROTECTED]>

        * build-csproj2k5: a couple of changes.  use "exec >" instead of
        redirecting the output from every function, use multiple patterns
        in our sed calls instead of including multiple sed invocations,
        and use sed instead of tr for converting / to \.



Modified: trunk/mcs/class/Managed.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/ChangeLog     2006-12-17 17:55:04 UTC 
(rev 69624)
+++ trunk/mcs/class/Managed.Windows.Forms/ChangeLog     2006-12-17 18:40:30 UTC 
(rev 69625)
@@ -1,3 +1,10 @@
+2006-12-17  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * build-csproj2k5: a couple of changes.  use "exec >" instead of
+       redirecting the output from every function, use multiple patterns
+       in our sed calls instead of including multiple sed invocations,
+       and use sed instead of tr for converting / to \.
+
 2006-12-16  Daniel Nauck  <[EMAIL PROTECTED]>
 
        * System.Windows.Forms.dll.sources: Add

Modified: trunk/mcs/class/Managed.Windows.Forms/build-csproj2k5
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/build-csproj2k5       2006-12-17 
17:55:04 UTC (rev 69624)
+++ trunk/mcs/class/Managed.Windows.Forms/build-csproj2k5       2006-12-17 
18:40:30 UTC (rev 69625)
@@ -4,7 +4,8 @@
 #
 #
 
-OutFile=SWF2k5.csproj
+exec > SWF2k5.csproj
+
 Source=System.Windows.Forms.dll.sources
 Resource=System.Windows.Forms.dll.resources
 
@@ -203,12 +204,12 @@
            INCLUDE=$INCLUDE.prebuilt
        fi
 
+       # strip off the path from the name of the resource and the .prebuilt if 
there is one
+       LOGICALNAME=`echo $INCLUDE | sed 's/resources\///;s/.prebuilt//'`
+
        # convert all /'s to \\'s
-       INCLUDE=`echo $INCLUDE | tr '/' '\\\\'`
+       INCLUDE=`echo $INCLUDE | sed 's/\//\\\\/'`
 
-       # strip off the path from the name of the resource
-       LOGICALNAME=`echo $INCLUDE | sed 's/resources\\\\//' | sed 
's/.prebuilt//'`
-
        echo "    <EmbeddedResource Include=\"$INCLUDE\">"
        echo "      <LogicalName>$LOGICALNAME</LogicalName>"
        if test "x$CUSTOMTOOLNAMESPACE" != "x"; then
@@ -219,7 +220,7 @@
 echo "  </ItemGroup>"
 }
 
-SWFhead > $OutFile
-SWFfilelist >> $OutFile
-SWFresourcelist >> $OutFile
-SWFtail >> $OutFile
+SWFhead
+SWFfilelist
+SWFresourcelist
+SWFtail

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to