Can't use relative path as target directory

Andreas Raster <[email protected]> Sun, 16 Feb 2014 17:21:53 +0100
Newsgroups gmane.comp.gnu.stow.bugs
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I installed stow 2.2.0 from here: https://launchpad.net/~dns/+archive/gnu in Ubuntu 12.04.

When I try to specify a relative target either with a .stowrc or with -t, I always get variations
of this error:

~/s/stow-files> stow --verbose=3 --target=../../testlab/stow --dir=$HOME/suckless/stow-files gnuplot
stow dir is /home/user/suckless/stow-files
stow dir path relative to target ../../testlab/stow is ../../../..
cwd now ../../testlab/stow
cwd restored to /home/user/suckless/stow-files
cwd now ../../testlab/stow
stow: ERROR: The stow directory ../../../.. does not contain package gnuplot (No such file or
directory)

Seems to me it can't handle relative paths as target, when I use an absolute path it works fine.

mfg araster
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlMA5ZsACgkQ+g86tBfTA83tOgEAthEd9LoCArahM8HuNLUcygkK
hWuo8nGh+GKL911/sewA/03ccth248H05ZOqagmRCC7B2hWHHnSNUAPlLkJsJZUU
=QOps
-----END PGP SIGNATURE-----