From 20e8d6016087439af728ebb6b096f442152fd07b Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Thu, 21 Aug 2025 22:16:32 -0700 Subject: [PATCH] rcup: Fix shell quoting in `is_linked` This resulted in spurious "Replacing identical but unlinked ..." messages for destinations with spaces in their names, like macOS's `~/Library/Application Support` directory. --- bin/rcup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rcup.in b/bin/rcup.in index 626bfe7e..21492358 100755 --- a/bin/rcup.in +++ b/bin/rcup.in @@ -130,7 +130,7 @@ is_linked() { local dest="$2" if [ -h "$dest" ]; then - local link_dest=$(readlink $dest) + local link_dest=$(readlink "$dest") [ "$link_dest" = "$src" ] else return 1