Skip to content

Commit f59d6f6

Browse files
committed
sh to bash
1 parent 436528b commit f59d6f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git-basics.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This script performs the most common actions resulting in the various statuses,
77
# so you can make changes and see the effect.
88
# Remember to chmod +x git-basics.sh first, then paste this command in your terminal
9-
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/wilsonmar/git-utilities/master/git-basics.sh)"
9+
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/wilsonmar/git-utilities/master/git-basics.sh)"
1010

1111
RUNTYPE=""
1212
# remove
@@ -51,8 +51,8 @@ elif [[ "$unamestr" == 'Linux' ]]; then
5151
platform='linux'
5252
elif [[ "$unamestr" == 'FreeBSD' ]]; then
5353
platform='freebsd'
54-
elif [[ "$unamestr" == 'Windows' ]]; then
55-
platform='windows'
54+
elif [[ "$unamestr" == 'MINGW64_NT-6.1' ]]; then # git bash on Windows 10
55+
platform='windows' # systeminfo on windows https://en.wikipedia.org/wiki/MinGW
5656
fi
5757
echo "I'm $unamestr = $platform"
5858

0 commit comments

Comments
 (0)