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:'cou= rier new',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= :'courier new',monospace"> <br></div><div class=3D"gmail_default" style=3D"font-family:'courier ne= w',monospace">The error message is:</div><div class=3D"gmail_default" s= tyle=3D"font-family:'courier new',monospace"><br></div><div class= =3D"gmail_default" style=3D"font-family:'courier new',monospace"> Undefined subroutine &main::error called at /usr/local/bin/stow line 56= 8.<br></div><div class=3D"gmail_default" style=3D"font-family:'courier = new',monospace"><br></div><div class=3D"gmail_default" style=3D"font-fa= mily:'courier new',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:'courier new',mono= space"> <br></div><div class=3D"gmail_default" style=3D"font-family:'courier ne= w',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:'courier new',monospace"> <br></div><div class=3D"gmail_default" style=3D"font-family:'courier ne= w',monospace">On OS X spaces are=C2=A0unfortunately in some of the syst= em paths e.g. `~/Library/Application Support` so I can't use it to mana= ge files below these directories.</div> <div class=3D"gmail_default" style=3D"font-family:'courier new',mon= ospace"><br></div><div class=3D"gmail_default" style=3D"font-family:'co= urier new',monospace">John</div></div> --e89a8f6466f71c594704e4213d12--