fix: please the spell checker
This commit is contained in:
parent
48db7ceb5f
commit
fc645f8d3e
|
@ -11,7 +11,7 @@ dependency_missing() {
|
||||||
echo "error: $1 is not found in the system"
|
echo "error: $1 is not found in the system"
|
||||||
if [ "${AUTO_INSTALL_BUILD_DEPS}" = "1" ]; then
|
if [ "${AUTO_INSTALL_BUILD_DEPS}" = "1" ]; then
|
||||||
echo "brew install $1"
|
echo "brew install $1"
|
||||||
brew install $1
|
brew install "$1"
|
||||||
else
|
else
|
||||||
echo "You can install it by running:"
|
echo "You can install it by running:"
|
||||||
echo " brew install $1"
|
echo " brew install $1"
|
||||||
|
@ -23,14 +23,14 @@ prepare_mac_osx() {
|
||||||
current_packages=$(brew list)
|
current_packages=$(brew list)
|
||||||
for package in ${required_packages_mac_osx}
|
for package in ${required_packages_mac_osx}
|
||||||
do
|
do
|
||||||
if ! echo ${current_packages} | grep -q "${package}"; then
|
if ! echo "${current_packages}" | grep -q "${package}"; then
|
||||||
dependency_missing ${package}
|
dependency_missing "${package}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for cmd in ${required_cmds_mac_osx}
|
for cmd in ${required_cmds_mac_osx}
|
||||||
do
|
do
|
||||||
if ! command -v "${cmd}" &> /dev/null; then
|
if ! command -v "${cmd}" &> /dev/null; then
|
||||||
dependency_missing ${cmd}
|
dependency_missing "${cmd}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue