[Mono-bugs] [Bug 598311] xbuild executes PostBuildEvent block as one large command rather than each line as a separate command.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 21 13:55:02 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=598311

http://bugzilla.novell.com/show_bug.cgi?id=598311#c2


Marc Christensen <mchristensen at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED
       InfoProvider|mchristensen at novell.com     |

--- Comment #2 from Marc Christensen <mchristensen at novell.com> 2010-04-21 17:55:01 UTC ---
I changed all lines from 'xcopy /s /y' to 'cp -rv' as well.  I think you're
correct that each line *is* getting executed individually.  It looks that lines
with wild cards such as this:

/home/marc/prog/Mono:Community/mojoportal/mojoportal-2.3.4.2/mojoPortal.Features.UI/App_GlobalResources/*.resx

are failing to copy even though the files or directories exist.  I think the
reason is that the arguments are being passed in to cp are hard quoted ' rather
than soft ".  This makes cp look for a file with an * in it rather than treat
it as a wild card.

I looked at the cp failures in my build output and while the sources are
failing to copy, they do exist.  The ones that do not have wild cards in them
actually *do* copy successfully while the ones with wild cards do no.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list