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.
This commit is contained in:
can1357
2026-07-28 10:22:57 +02:00
parent e74a70cf96
commit 7b0780028f
+1 -1
View File
@@ -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