Re: make fails if path has spaces

Bruce Momjian <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Andreas Pflug wrote:
> Bruce Momjian wrote:
> > Andreas Pflug wrote:
> > 
> >>Bruce Momjian wrote:
> >>
> >>
> >>>Yes, the executable has to be quoted.  Where is it being referenced
> >>>unquoted?
> >>
> >>In this case, $(PERL) is referenced for building psql's doc. PERL is set 
> >>in Makefile.global unquoted, as all paths.
> >>
> >>For others, the same problem might arise with bison or flex.
> > 
> > 
> > Is the problem the assignment in Makefile.global or the use of the
> > variable in psql/Makefile?
> > 
> 
> It could be fixed in both places, but the more general fix would be to 
> qoute in Makefile.global, i.e. fixing configure.

What if you change this:

	PERL                    = @PERL@

to this:

	PERL                    = "@PERL@"

Does it help?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.