append-dirs

Name

append-dirs -- Append two directory pathnames.

Type: function

Synopsis

append-dirs( dir1 dir2, dir3);

Arguments

dir1

A directory name (an instance of <directory-name>).

dir2

A directory name (an instance of <directory-name>).

Return Values

dir2

A directory name (an instance of <directory-name>).

Description

This function is analagous to append-path, but works on a directory as it's right-hand-side argument. That is, the function computes the directory referred to when dir2 is interpreted relative to dir1.

If dir2 is an absolute path, then it is returned. Otherwise, a new directory-name object is constructed.