Tom Collins wrote (at Mon, Jan 05, 2004 at 06:30:28PM -0700): > On Jan 4, 2004, at 1:21 PM, Philipp Wagner wrote: > >But I found something else, I don't know if that is going to be a bug > >or only a display-error: > >I ran configure with "--enable-htmldir=/customer/", and the image dir > >seems to be set wrong. I didn't install it yet, I only ran configure > >and make. Probably it'd a good idea to remove all ending slashes from > >the paths in configure. > > html dir = /customer/ > > image dir = /customer//images/qmailadmin > > I don't think doubled slashes are a problem. > > I don't know enough shell scripting to strip a trailing "/" off of html > dir. If anyone has a simple method (sed? awk?) we can throw it in. We > could also use a check for someone starting a path with "~" instead of > "/".
path="`echo $path | sed -e 's#//#/#g'`" will at least remove double-slashes, but I also don't see it as a problem. If you see that happen, reconfigure it without the trailing slash. -- Casey Zacek Senior Engineer NeoSpire, Inc.
