Skip to content

Commit

Permalink
Improve echo
Browse files Browse the repository at this point in the history
  • Loading branch information
majetideepak committed Mar 2, 2024
1 parent 77b538c commit ea16d8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/setup-centos8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ function install_velox_deps {
for cmd in "$@"; do
run_and_time "${cmd}"
done
echo "All specified dependencies installed!"
else
if [ "${INSTALL_PREREQUISITES:-Y}" == "Y" ]; then
echo "Installing build dependencies"
Expand All @@ -222,9 +223,8 @@ function install_velox_deps {
source /opt/rh/gcc-toolset-9/enable || exit 1
set -u
install_velox_deps
echo "All dependencies for Velox installed!"
dnf clean all
fi
)

echo "All dependencies for Velox installed!"

dnf clean all
3 changes: 2 additions & 1 deletion scripts/setup-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,16 @@ function install_velox_deps {
for cmd in "$@"; do
run_and_time "${cmd}"
done
echo "All specified dependencies installed!"
else
if [ "${INSTALL_PREREQUISITES:-Y}" == "Y" ]; then
echo "Installing build dependencies"
run_and_time install_build_prerequisites
fi
install_velox_deps
echo "All deps for Velox installed! Now try \"make\""
fi
)

echo "All deps for Velox installed! Now try \"make\""
echo 'To add cmake-format bin to your $PATH, consider adding this to your ~/.profile:'
echo 'export PATH=$HOME/bin:$HOME/Library/Python/3.7/bin:$PATH'
3 changes: 2 additions & 1 deletion scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ function install_velox_deps {
for cmd in "$@"; do
run_and_time "${cmd}"
done
echo "All specified dependencies installed!"
else
if [ "${INSTALL_PREREQUISITES:-Y}" == "Y" ]; then
echo "Installing build dependencies"
run_and_time install_build_prerequisites
fi
install_velox_deps
echo "All dependencies for Velox installed!"
fi
)

echo "All dependencies for Velox installed!"

0 comments on commit ea16d8f

Please sign in to comment.