Web lists-archives.com

Re: [Mingw-msys] Apache Apr




Michael Ruder wrote:
[...]
> One can see, that $0 is returning a non-MSYS-path when called in shell 
> scripts called by perl, while it works otherwise. This will break the 
> am-wrapper script of autotools.

Thanks for the report, I had noticed it as well. The problem is not in 
Perl, but in the MSYS Runtime DLL. I already found what the problem is, 
fixing this is in my TODO list.

Meanwhile, my workaround is to add extra quoting to the am-wrapper script:

--- /c/rascunho/mingw/aclocal   2008-06-26 21:42:40 +0000
+++ /usr/local/bin/aclocal      2008-06-26 21:47:01 +0000
@@ -59,7 +59,7 @@
  #
  binary=""
  for v in ${vers} ; do
-       eval binary_${v/./_}="${0}-${v}"
+       eval binary_${v/./_}="\"${0}-${v}\""

         if [ -z "${binary}" ] && [ -x "${0}-${v}" ] ; then
                 binary="${0}-${v}"


Regards,
Cesar


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys