Skip to content

Commit

Permalink
test ls -A
Browse files Browse the repository at this point in the history
  • Loading branch information
nina9753 committed Jul 17, 2024
1 parent edc2e3b commit 541cd87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datadog_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ getRuntimeDependencies() {

getBinaries() {
# Check if we have already installed this version or if we successfully downloaded binaries before
if [ ! -d "${DD_BINARY_DIR}" -o -f "${DD_BINARY_DIR}"/datadog.yaml ]; then
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 541cd87

Please sign in to comment.