diff --git a/api/install_os_dependencies.sh b/api/install_os_dependencies.sh index 91f3f7c3f0aa1321c45c7db65b5a5b09affbbc11..77ebc4a793363d695ff5ca4ca9e7ee09a08c182c 100755 --- a/api/install_os_dependencies.sh +++ b/api/install_os_dependencies.sh @@ -1,6 +1,8 @@ -#!/bin/bash +#!/bin/bash -ex -OS_REQUIREMENTS_FILENAME="requirements.apt" +script_path=$(dirname "$(realpath $0)") + +OS_REQUIREMENTS_FILENAME="$script_path/requirements.apt" # Handle call with wrong command function wrong_command()