From 7b0780028f9836e5d09d1316a9f40efeee283839 Mon Sep 17 00:00:00 2001 From: can1357 Date: Tue, 28 Jul 2026 10:22:57 +0200 Subject: [PATCH] style(scripts): quoted the empty CDPATH assignment in link-omp.sh `CDPATH=` already cleared the variable for the `cd` subshell, so this is a readability-only change: `CDPATH=''` is the identical POSIX assignment written with explicit empty quotes. No behavior change, and there was no CDPATH leak to fix. --- scripts/link-omp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/link-omp.sh b/scripts/link-omp.sh index 1d58a387f..230f18922 100755 --- a/scripts/link-omp.sh +++ b/scripts/link-omp.sh @@ -13,7 +13,7 @@ # write under `/` — see https://github.com/can1357/oh-my-pi/issues/3701. set -e -repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd -P) +repo_root=$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd -P) target=$repo_root/packages/coding-agent/scripts/omp if [ ! -x "$target" ]; then