Re: Language module support modified

Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
On Tue, 30 Sep 2003, Bram Moolenaar wrote:
> > Like someone else already pointed out, /usr/local is rather
> > unportable. I presume you mean "the OS-specific place for "extra
> > software"".
>
> And how would Aap find out where that is?
>
> I could add a variable in default.aap, but I found one place where the
> /usr/local/... directory is used without reading it: filetype detection.
> Perhaps this is something that must be done when installing Aap?


	if os == "posix":
		if test -d "/opt":
			os_local_dir="/opt"
		else:
			os_local_dir="/usr/local"
	else:
		os_local_dir="C:/WINDOWS/SYSTEM"

That's a start, isn't it?


-- 
 Adriaan de Groot    adridg-FlD2LfDziEhmR6Xm/[email protected]     Kamer A6020     024-3652272
GPG Key Fingerprint 934E 31AA 80A7 723F 54F9  50ED 76AC EE01 FEA2 A3FE
               http://www.cs.kun.nl/~adridg/research/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.