Re: [A-A-P-develop] Installing A-A-P with a non-existent PREFIX
Brought to you by:
vimboss
From: Bram M. <Br...@mo...> - 2004-01-17 19:33:16
|
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 -- Bram@Moolenaar.net -- 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 /// |