stow --dotfiles creates an error

Jan Dammshäuser <[email protected]> Wed, 14 Oct 2020 18:54:58 +0200
Newsgroups gmane.comp.gnu.stow.bugs
Message-ID <d9566e3e-8476-4a99-98f2-047fde35aaaf@Spark>
--5f872d67_25e45d32_1790b
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

my test folder looks like this:

.
|-test
|--dot-try
|---file1
|-test2
|--dot-try
|---file2

I haven't stowed anything yet.
Running 'stow test --dotfiles' works and links '.try' to './test/dot-try'

Now running 'stow test2 --dotfiles' does not work and produces this error:
stow: ERROR: stow_contents() called with non-directory path: .dotfiles/test/.try

I'm using macOS 10.15.6 if this matters.

I hope somebody is able to fix this.
Cheers
Jan

--5f872d67_25e45d32_1790b
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html xmlns=3D=22http://www.w3.org/1999/xhtml=22>
<head>
<title></title>
</head>
<body>
<div name=3D=22messageBodySection=22>
<div dir=3D=22auto=22>Hello,<br />
<br />
my test folder looks like this:<br />
<br />
.<br />
=7C-test<br />
=7C--dot-try<br />
=7C---file1<br />
=7C-test2<br />
=7C--dot-try<br />
=7C---file2<br />
<br />
I haven't stowed anything yet.<br />
Running 'stow test --dotfiles' works and links '.try' to './test/dot-try'=
<br />
<br />
Now running 'stow test2 --dotfiles' does not work and produces this error=
:<br />
stow: ERROR: stow=5Fcontents() called with non-directory path: .dotfiles/=
test/.try<br />
<br />
I'm using macOS 10.15.6 if this matters.<br />
<br />
I hope somebody is able to fix this.<br />
Cheers<br />
Jan<br /></div>
</div>
</body>
</html>

--5f872d67_25e45d32_1790b--