Skip to content

Commit 9c50eb8

Browse files
committed
Update csharpier.bash
1 parent 872ef89 commit 9c50eb8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/formatters/installers/csharpier.bash

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apt-get install -y dotnet-sdk-8.0
22

33
dotnet tool install csharpier -g
44

5-
ls "${HOME}/.dotnet/tools" | while read -r tool; do
6-
ln -s "${HOME}/.dotnet/tools/${tool}" /usr/local/bin/
7-
done
5+
if ! [[ "$PATH" =~ $HOME/.dotnet/tools:$HOME/bin: ]]; then
6+
PATH="$HOME/.dotnet/tools:$HOME/bin:$PATH"
7+
fi
8+
export PATH

0 commit comments

Comments
 (0)