Skip to content

Commit

Permalink
Merge pull request #3479 from webern/skip-install
Browse files Browse the repository at this point in the history
skip reinstillation of twoliter from source
  • Loading branch information
webern authored Sep 20, 2023
2 parents afa53cb + 31bf509 commit e69961d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/install-twoliter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ on_exit "rm -rf ${workdir}"

if [ "${reuse_existing}" = "true" ] ; then
if [ -x "${dir}/twoliter" ] ; then
if [ "${allow_bin}" != "true" ]; then
echo "Twoliter binary found and --allow-binary-install is false. Skipping install."
exit 0
fi
version_output="$("${dir}/twoliter" --version)"
found_version=v$(echo $version_output | awk '{print $2}')
echo "Found twoliter ${found_version} installed."
Expand Down

0 comments on commit e69961d

Please sign in to comment.