On Thu, Jan 18, 2007 at 09:45:43AM +0100, Tim Stoop wrote:
> When enabling DEBUG, I found the problem:
> 
> HOSTPATH _debian_
> 
> So I changed line 11 of your script to:
> 
> HOSTPATH="$(echo $uri | sed 's|.*//[^/[:space:]]\+/\?||;s|/|_|g;s|^\(. 
> \+\)$|_\1|' | sed 's|_$||')"
> 
> Which fixes the problem.

HOSTPATH="$(echo $uri | sed 
's|.*//[^/[:space:]]\+/\?||;s|/$||;s|/|_|g;s|^\(.\+\)$|_\1|')"

is my new version.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to