Last active
January 25, 2019 17:58
-
-
Save ericboehs/b76b7f20e72735337040041d694f239d to your computer and use it in GitHub Desktop.
weechat with curl doesn't work demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install working version | |
brew uninstall weechat; brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/4bdc1ce82824246dfa49d002033e1d6b2fcabe81/Formula/weechat.rb --with-python@2 --with-perl --with-ruby --with-lua --with-aspell | |
# Download perl script via weechat (make sure you type /quit in weechat to continue) | |
rm ~/.weechat/perl/multiline.pl ~/.weechat/perl/autoload/multiline.pl 2> /dev/null; weechat -r "/script install multiline.pl"; ls ~/.weechat/perl/multiline.pl 2>&1 > /dev/null && echo "It worked" || echo "It failed" | |
# Install broken version | |
brew uninstall weechat; brew install weechat | |
# Download perl script via weechat (make sure you type /quit in weechat to continue) | |
rm ~/.weechat/perl/multiline.pl ~/.weechat/perl/autoload/multiline.pl 2> /dev/null; weechat -r "/script install multiline.pl"; ls ~/.weechat/perl/multiline.pl 2>&1 > /dev/null && echo "It worked" || echo "It failed" | |
# If you ran line 5 and it said "It worked" and line 11 said "It failed", then you have reproduced the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: You can pick any of the scripts from
/script
and this will fail. I just picked multiline because it was the one I was trying to install when I encountered the issue.