Re: Installing A-A-P with a non-existent PREFIX
Bram Moolenaar <[email protected]> Sat, 17 Jan 2004 20:31:37 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Scott Harrison wrote:
> > You can set $PREFIX to an empty string, but this has the meaning of
> > installing in /usr/local. To really install in the root directory set
> > it to "/".
> >
> > Is it a problem that install_files() always prepends $DESTDIR/$PREFIX
> > to the directory passed to it?
>
> The only small worry I have is
>
> PREFIX = /
> DESTDIR = /
>
> and winding up with a system call
>
> cp somefile ///usr/work/somewhere/.
The Python function os.path.join() is used, which deletes extra slashes.
If you do see too many slashes somewhere, let me know and I can fix it.
But I would not expect this to happen.
> I think '//' and '///' is unclean, and vaguely
> recall it not being processed well by certain
> OS platforms or software applications.
On some (old) systems //system/path was used for network access.
--
GUARD #1: Where'd you get the coconut?
ARTHUR: We found them.
GUARD #1: Found them? In Mercea? The coconut's tropical!
ARTHUR: What do you mean?
GUARD #1: Well, this is a temperate zone.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn