Skip to content

Commit 260bf14

Browse files
committed
Fix bash to shell appender
1 parent ef3cf42 commit 260bf14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ bash: brew
6161
ifdef GITHUB_ACTION
6262
if ! grep -q bash $(SHELLS); then \
6363
brew install bash bash-completion@2 pcre && \
64-
sudo append $(shell which bash) $(SHELLS) && \
64+
echo $(shell which bash) | sudo tee -a $(SHELLS) && \
6565
sudo chsh -s $(shell which bash); \
6666
fi
6767
else
6868
if ! grep -q bash $(SHELLS); then \
6969
brew install bash bash-completion@2 pcre && \
70-
sudo append $(shell which bash) $(SHELLS) && \
70+
echo $(shell which bash) | sudo tee -a $(SHELLS) && \
7171
chsh -s $(shell which bash); \
7272
fi
7373
endif

0 commit comments

Comments
 (0)