:assertpkg with path?
"Lars Ivar Igesund" <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <047801c37f64$873ee8d0$0200000a@mesmer> |
Hi again! I tried to install agide using aap --install. The install itself went fine, the only problem was finding the additional packages like gvim and mingw. I'm not always a fan of putting everything in the path. gvim is no problem in that respect, but as I have both mingw and cygwin installed, I never have more than one of them in the path. At the moment, that is not mingw and thus aap --install didn't find it. I looked at the assert_pkg function and it was easy to let the user add a path to search. This isn't useful until agide can find this path at runtime, though. Should assertpkg have the possibility to return the path provided by the user so that it can be stored in a config file? Of course this wouldn't help with mingw as the agide bootstrap recipe don't use assertpkg but progsearch and some other stuff. Maybe a :progpath command would be of use? :progpath varname progname... which lets the user supply a path if the program is not found in $PATH and put in the variable varname. When the programpaths are ready, it's up to the bootstrap recipe to put it into the relevant config file. (BTW; It seems like it takes 12 hours + before I receive my own messages to the list. Long live SourceForge!) Lars Ivar Igesund