Here I send a fix for three problems I have found:
- The version "latest" doesn't work with the module pkgsrc.
- The pkgsrc module uses read -r u 0 instead of read -r. "-u 0" option isn't supported by NetBSD 7.0 (the most used platform in pkgsrc). I think that -u 0 (read from std input) is the default behavior, and it isn't harmful to remove this option.
- DONE in
- DONE in
- The "options" doesn't work for me using whitespaces on Solaris 11.3 SPARC. I had to prefix them with "\", and it was awful. Now I can use by example:
I think that the problem with the previous implementation of option is that options is passed as: options='export PKG_REPOS=http://188.8.131.52/packages', eval removes the simple quotes (eval I think that needs double quotation for work properly), and It leaves as: eval options=export PKG_REPOS=http://184.108.40.206/packages. At the end it executes only export instead of "export PKG...." and giving a syntax error