Skip to content

Commit

Permalink
Merge pull request #44 from DataDog/nina.rei/SVLS-4872/AAS-Linux-Bina…
Browse files Browse the repository at this point in the history
…ries

[SVLS-4872] Improve AAS Linux wrapper install logic
  • Loading branch information
nina9753 authored Jul 17, 2024
2 parents 1a197dd + 541cd87 commit cf6ff0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datadog_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ setEnvVars() {
DD_AAS_LINUX_VERSION="v1.10.6"
fi

if [ -z "${DD_TRACE_LOG_DIRECTORY}"]; then
if [ -z "${DD_TRACE_LOG_DIRECTORY}" ]; then
DD_TRACE_LOG_DIRECTORY="/home/LogFiles/datadog/${DD_AAS_LINUX_VERSION}"
fi

Expand Down Expand Up @@ -108,8 +108,8 @@ getRuntimeDependencies() {
}

getBinaries() {
#Check if we have already installed this version
if [ ! -d "${DD_BINARY_DIR}" ]; then
# Check if we have already installed this version or if we successfully downloaded binaries before
if [ ! -d "${DD_BINARY_DIR}" -o -z "$(ls -A "${DD_BINARY_DIR}")" ]; then

FILE="datadog-aas-${DD_AAS_LINUX_VERSION}.zip"

Expand Down

0 comments on commit cf6ff0e

Please sign in to comment.