Can't have spaces in the target directory path

John Purnell <[email protected]> Sat, 17 Aug 2013 11:21:17 +0200
Newsgroups gmane.comp.gnu.stow.bugs
Message-ID <CALU0QUBZ2tZr+tw6-8Jreha_G0MLjCct7wPOkjUgb3DShY=C_g@mail.gmail.com>
--e89a8f6466f71c594704e4213d12
Content-Type: text/plain; charset=UTF-8

It is not possible to have spaces in the path of the target directory.

The error message is:

Undefined subroutine &main::error called at /usr/local/bin/stow line 568.

If lines 567-569 are commented out then stow runs but fails to change
directory into the path prefix of the directory with a space in its name.

This occurs notwithstanding the spaces being escaped or the full directory
path being quoted.

On OS X spaces are unfortunately in some of the system paths e.g.
`~/Library/Application Support` so I can't use it to manage files below
these directories.

John

--e89a8f6466f71c594704e4213d12
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:&#39;cou=
rier new&#39;,monospace">It is not possible to have spaces in the path of t=
he target directory.</div><div class=3D"gmail_default" style=3D"font-family=
:&#39;courier new&#39;,monospace">

<br></div><div class=3D"gmail_default" style=3D"font-family:&#39;courier ne=
w&#39;,monospace">The error message is:</div><div class=3D"gmail_default" s=
tyle=3D"font-family:&#39;courier new&#39;,monospace"><br></div><div class=
=3D"gmail_default" style=3D"font-family:&#39;courier new&#39;,monospace">

Undefined subroutine &amp;main::error called at /usr/local/bin/stow line 56=
8.<br></div><div class=3D"gmail_default" style=3D"font-family:&#39;courier =
new&#39;,monospace"><br></div><div class=3D"gmail_default" style=3D"font-fa=
mily:&#39;courier new&#39;,monospace">

If lines 567-569 are commented out then stow runs but fails to change direc=
tory into the path prefix of the directory with a space in its name.</div><=
div class=3D"gmail_default" style=3D"font-family:&#39;courier new&#39;,mono=
space">

<br></div><div class=3D"gmail_default" style=3D"font-family:&#39;courier ne=
w&#39;,monospace">This occurs notwithstanding the spaces being escaped or t=
he full directory path being quoted.</div><div class=3D"gmail_default" styl=
e=3D"font-family:&#39;courier new&#39;,monospace">

<br></div><div class=3D"gmail_default" style=3D"font-family:&#39;courier ne=
w&#39;,monospace">On OS X spaces are=C2=A0unfortunately in some of the syst=
em paths e.g. `~/Library/Application Support` so I can&#39;t use it to mana=
ge files below these directories.</div>

<div class=3D"gmail_default" style=3D"font-family:&#39;courier new&#39;,mon=
ospace"><br></div><div class=3D"gmail_default" style=3D"font-family:&#39;co=
urier new&#39;,monospace">John</div></div>

--e89a8f6466f71c594704e4213d12--