On Fri, 18 Oct 2002, Ilya Konstantinov wrote:

> /usr/local/bin/union has the latest version of my union script. After
> you create separate mountpoints for each 8.0 ISO, use something like:
> 
> union iso/i386/foo-8.0-disc1 iso/i386/foo-8.0-disc2 ... os/i386

there was a bug in this script (or in the way i ran it?) - on line 68 -
you had:

 symlink(
  maintain_relativity("$target/$basedir", "$value/$basedir") . "$key",
  "$target/$basedir/$key"
 );

i changed this to:

 symlink(
  maintain_relativity("$target/$basedir", "$value/$basedir") . "/" . "$key",
  "$target/$basedir/$key"
 );

without this, all symlinks were broken - there was no '/' between the 
target dir path and the target file name.

note that when i ran the script, i did not write a '/' at the end of each 
directory name - thought i don't think this would have helped.

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

Reply via email to