help-stow
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-stow] chdir errors: Unable to bootstrap stow


From: James Jong
Subject: Re: [Help-stow] chdir errors: Unable to bootstrap stow
Date: Sun, 21 Apr 2013 19:56:15 -0400

Thank you Adam. That fixed it. 

James


On Sun, Apr 21, 2013 at 5:50 PM, Adam Spiers <address@hidden> wrote:
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 ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]