Closed apjanke closed 2 months ago
Yeah, that "Listing cowfiles in pretty format" was just some debugging output I forgot to remove. Removed in https://github.com/cowsay-org/cowsay/commit/9f630c455654d5d8aa89187ab671422e429d48d8.
Fixed the "uninitialized value" error for empty cowdirs in https://github.com/cowsay-org/cowsay/commit/225cc792dc098346234c590f302b2f80372f8ac3.
Yeah, looks like that '"make uninstall
to remove symlinks or other custom installation things that it didn't set up in the first place, so not going to add handling for it in the Makefile.)
That's it for this ticket. Closing as Fixed. Fixes will go out in 3.8.3.
Noticed a couple rough edges since merging #26:
cowsay -l
raises an "uninitialized value" error around site-cows.<prefix>/share/cowsay not a directory
" inmake uninstall
cowsay -l
cowsay -l
uninitialized valueI think that's because now the
site-cows
directory exists, but has no *.(cow|pm) files in it, and thelist_cowfiles_pretty()
code is not correctly handling the empty-list case."
<prefix>/share/cowsay not a directory
" inmake uninstall
If I do a
make install
thenmake uninstall
:That looks like a problem with our Homebrew cowsay-org formula packaging. That
/usr/local/share/cowsay
is a symlink on my Homebrew-managed system, not a directory. Looks like a leftover from an old brew-driven installation.Not sure what sequence of events led to that. I'm guessing it's because I did a
make install
from source while there was a brewed installation already present. Maybe we should detect that, and havemake install
bail if there are file collisions?Says "Listing cowfiles in pretty format" in
cowsay -l
That "Listing cowfiles in pretty format" looks like debugging output that probably shouldn't be there.