Bug#806915: stow: chkstow -l only works for 'stow'

2019-07-01 Thread Adam Spiers
Thanks a lot - I'll take a look when I get back from holiday!

On Mon, 1 Jul 2019 at 08:00, Nathaniel Morck Foley-Beaver
 wrote:
>
> I have reported the bug upstream here:
>
> https://github.com/aspiers/stow/issues/61
>



Bug#806915: stow: chkstow -l only works for 'stow'

2019-07-01 Thread Nathaniel Morck Foley-Beaver

I have reported the bug upstream here:

https://github.com/aspiers/stow/issues/61



Bug#806915: stow: chkstow -l only works for 'stow'

2015-12-02 Thread Nathaniel Morck Beaver

Package: stow
Version: 2.2.0-2
Severity: normal
Tags: upstream

Dear Maintainer,

The `chkstow --list` command only works when the stow directory is 
called 'stow'. This is mentioned in a "FIXME" comment in the current 
version of the source code.


http://git.savannah.gnu.org/cgit/stow.git/tree/bin/chkstow.in?id=cc0767597e5f9e23400323b42550e4672160b3c0#n97

I have also attached a shell script to reproduce the behavior. The 
`chkstow` invocation outputs only



package1


when it should output


package1
package2


Suggested fix: let the `chkstow` command take a `--dir` flag like `stow` 
does.


Sincerely,

Nathaniel Beaver

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: 
LC_ALL set to en_US.UTF-8)

Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages stow depends on:
ii  dpkg  1.17.25
ii  install-info  5.2.0.dfsg.1-6
ii  perl  5.20.2-3+deb8u1

stow recommends no packages.

Versions of packages stow suggests:
ii  doc-base  0.10.6

-- no debconf information


reproduce.sh
Description: application/shellscript
all:
bash reproduce.sh
clean:
rm -rf target/
rm -rf stow/
rm -rf stow2/