[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-stow] chdir errors: Unable to bootstrap stow
From: |
Adam Spiers |
Subject: |
Re: [Help-stow] chdir errors: Unable to bootstrap stow |
Date: |
Sun, 21 Apr 2013 14:50:08 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Apr 21, 2013 at 04:30:02PM -0400, James Jong wrote:
> I have the following in my .stowrc:
>
> --dir=~/opt/stow_all/stow_storage
> --target=~/opt/stow_all/stow_appear
> --ignore='~'
> --ignore='^CVS'
>
> and I have built stow from the git repository at:
> ~/opt/stow_all/stow_storage/stow_2.2.0_canonical_paths
>
> i.e. the above path holds the actual bin, lib and share for stow.
>
> I am trying to bootstrap stow itself, so I did:
> > cd ~/opt/stow_all/stow_storage
> > ./stow_2.2.0_canonical_paths/bin/stow stow_2.2.0_canonical_paths
>
> but this returned:
>
> Loading defaults from /home/avazquez/.stowrc
> stow: ERROR: canon_path: cannot chdir to ~/opt/stow_all/stow_storage from
> /nfs/titan7/u125/opt/stow_all/stow_storage
>
> Is there anything that I am doing wrong?
Yes, shell expansion is not performed on the contents of .stowrc, so
you cannot use the '~' shorthand for home directories. I'd happily
accept a pull request to implement that feature however ;-)