From 13658f5172e1aa994b39254c8146bb6dcc6a2adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9iy=C3=AC=20Zhang?= Date: Thu, 26 Mar 2026 11:42:14 -0700 Subject: [PATCH] fix syntax error where "{$var}" results in literal {} wrapped around file name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Léiyì Zhang --- scripts/unbind_from_driver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/unbind_from_driver.sh b/scripts/unbind_from_driver.sh index bcf88aa94..bf52be2e7 100755 --- a/scripts/unbind_from_driver.sh +++ b/scripts/unbind_from_driver.sh @@ -19,7 +19,7 @@ acquire_unbind_lock() while [[ $attempt -le ${lock_retries} ]]; do echo "[retry $attempt/${lock_retries}] Attempting to acquire unbindLock for $gpu" >&1 - echo 1 > "{$unbind_lock_file}" + echo 1 > "${unbind_lock_file}" read -r unbind_lock < "${unbind_lock_file}" if [ ${unbind_lock} -eq 1 ]; then echo "UnbindLock acquired for $gpu" >&1