[MonoDevelop] Small patch to allow relative paths on commandline

Michael Levy mlevy@wardium.homeip.net
Tue, 8 Jun 2004 01:06:48 +0200


Yes, this is for commandline parsing. The function I wrote doesn't look for
./ so both of your examples work....One thing to keep in mind is that it
seems, but I may be completely wrong, that MD will only allow you to specify
a single file on the comand line. I think it's due to some code in 
SplashScreen.cs

Not to nit-pick, but as far as I know, ~/file.cs is an absolute path because
your shell replaces ~ with $HOME. Anyhow it doesn't matter.

If it doesn't work for you, let me know I'll try to help...

Mike

On Mon, Jun 07, 2004 at 06:56:13PM -0400, John Luke wrote:
> On Mon, 2004-06-07 at 23:27 +0200, Michael Levy wrote:
> > Hi all,
> > 	I spoke to Tod on IRC where he suggested that the easiest way to handle
> > relative path file names in MD was to do it in the shell script. He was
> > definitely right! Here is a patch created against the shell script
> > present in the 0.4 tarball.
> > 
> 
> This is for command-line parsing, right? What about relative paths that
> do not start with ./  for example: ~/file.cs or dir1/file.cs
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list