configure doesn't handle spaces in paths

View: New views
2 Messages — Rating Filter:   Alert me  

configure doesn't handle spaces in paths

by Xavid Pretzer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I was recently installing ocrad and had to modify the configure script
because both the directory I was compiling in and the destination
directory had spaces in their path names.  ocrad doesn't seem to be on
the alpha site linked to from the ocrad page, so I don't know if this
has been fixed since the last released version, but I've attached a
patch from version .15 that works for me.

Xavid

30c30
< while [ x$1 != x ] ; do
---
> while [ "x$1" != x ] ; do
92c92
< if [ `pwd` = `cd ${srcdir} ; pwd` ] ; then srcdir=. ; fi
---
> if [ "`pwd`" = "`cd ${srcdir} ; pwd`" ] ; then srcdir=. ; fi

_______________________________________________
Bug-ocrad mailing list
Bug-ocrad@...
http://lists.gnu.org/mailman/listinfo/bug-ocrad

Re: configure doesn't handle spaces in paths

by Bugzilla from ant_diaz@teleline.es :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Xavid.

Xavid Pretzer wrote:
> I was recently installing ocrad and had to modify the configure script
> because both the directory I was compiling in and the destination
> directory had spaces in their path names.  ocrad doesn't seem to be on
> the alpha site linked to from the ocrad page, so I don't know if this
> has been fixed since the last released version, but I've attached a
> patch from version .15 that works for me.

Thank you for the patch. I missed this "bug" because I never use spaces
in file names. I'll fix it for the next release.

I currently do not use the alpha site, I release test versions in my own
web space, but this may change in the future.


Best regards.
Antonio.


_______________________________________________
Bug-ocrad mailing list
Bug-ocrad@...
http://lists.gnu.org/mailman/listinfo/bug-ocrad