From bc37b71a7ada68b31327fba89270246454186c39 Mon Sep 17 00:00:00 2001 From: Rainer Kartmann <rainer.kartmann@kit.edu> Date: Tue, 29 Jun 2021 07:42:33 +0200 Subject: [PATCH] Fix missing function in install script --- etc/mongocxx/install_mongocxx.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/mongocxx/install_mongocxx.sh b/etc/mongocxx/install_mongocxx.sh index 54889f9f6..8820931ce 100755 --- a/etc/mongocxx/install_mongocxx.sh +++ b/etc/mongocxx/install_mongocxx.sh @@ -12,6 +12,9 @@ fi # Stolen from mycroft-core/dev_setup.sh // Rainer Kartmann +function found_exe() { + hash "$1" 2>/dev/null +} # If tput is available and can handle multiple colors if found_exe tput ; then -- GitLab