Fix unquoted variables in all shell scripts to prevent word splitting

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-06-04 15:39:06 +00:00
parent da44498341
commit 010d2899b3
9 changed files with 27 additions and 27 deletions

View File

@@ -173,9 +173,9 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
path="${dock_order[$i]}"
name=$(basename "$path" | sed 's/\.app$//')
if [[ $dock_state == *"$name"* ]]; then
dockutil --move "${path}" --position $i --no-restart
dockutil --move "${path}" --position "$i" --no-restart
else
dockutil --add "${path}" --position $i --no-restart
dockutil --add "${path}" --position "$i" --no-restart
fi
fi
done