Skip to content

Commit

Permalink
Fix bash to shell appender
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 14, 2025
1 parent ef3cf42 commit 260bf14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ bash: brew
ifdef GITHUB_ACTION
if ! grep -q bash $(SHELLS); then \
brew install bash bash-completion@2 pcre && \
sudo append $(shell which bash) $(SHELLS) && \
echo $(shell which bash) | sudo tee -a $(SHELLS) && \
sudo chsh -s $(shell which bash); \
fi
else
if ! grep -q bash $(SHELLS); then \
brew install bash bash-completion@2 pcre && \
sudo append $(shell which bash) $(SHELLS) && \
echo $(shell which bash) | sudo tee -a $(SHELLS) && \
chsh -s $(shell which bash); \
fi
endif
Expand Down

0 comments on commit 260bf14

Please sign in to comment.