File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
# This script performs the most common actions resulting in the various statuses,
7
7
# so you can make changes and see the effect.
8
8
# 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)"
10
10
11
11
RUNTYPE=" "
12
12
# remove
@@ -51,8 +51,8 @@ elif [[ "$unamestr" == 'Linux' ]]; then
51
51
platform=' linux'
52
52
elif [[ " $unamestr " == ' FreeBSD' ]]; then
53
53
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
56
56
fi
57
57
echo " I'm $unamestr = $platform "
58
58
You can’t perform that action at this time.
0 commit comments