From 50912e43ac3307c73fa6653492ba04e86b473713 Mon Sep 17 00:00:00 2001 From: Nicolas Clavaud Date: Tue, 30 Jun 2026 09:38:31 +0200 Subject: [PATCH] fix(datadog): Use correct variable name in Datadog install script Corrected the variable name from tempdir to temp_dir to match the declared variable and avoid undefined behavior. --- lib/datadog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datadog b/lib/datadog index f6341e87..7d5dd561 100644 --- a/lib/datadog +++ b/lib/datadog @@ -15,7 +15,7 @@ function install_datadog() { local cwd=$(pwd) local temp_dir=$(mktmpdir "datadog") - cd "${tempdir}" + cd "${temp_dir}" curl --silent -L "https://github.com/DataDog/dd-trace-php/releases/latest/download/datadog-setup.php" > datadog-setup.php mkdir -p ${install_dir}