Skip to content

Commit e0e912f

Browse files
authored
Merge pull request #60 from mdrocan/minor_fixes
Minor fixes
2 parents 77aa42d + 90418fd commit e0e912f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

brew_check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ scriptname=$0
44

55
hw=$(uname -m)
66
if [ "$hw" = x86_64 ]; then
7-
brew=$(find "/usr/local/bin/" -iname brew)
7+
brew=$(find "/usr/local/bin" -iname brew)
88
elif [ "$hw" = arm64 ]; then
9-
brew=$(find "/opt/homebrew/bin/" -iname brew)
9+
brew=$(find "/opt/homebrew/bin" -iname brew)
1010
else
1111
exit 1
1212
fi

pip_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ scriptname=$0
44

55
hw=$(uname -m)
66
if [ "$hw" = x86_64 ]; then
7-
pip3=$(find "/usr/local/bin/" -iname pip3.11)
7+
pip3=$(find "/usr/local/bin" -iname pip3.11)
88
elif [ "$hw" = arm64 ]; then
99
pip3=$(find "/opt/homebrew/opt/[email protected]/bin" -iname pip3.11)
1010
else

0 commit comments

Comments
 (0)