From 7425a3927e4ed80e9b6478c76a97cc0bab1ed263 Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Fri, 12 Jun 2026 13:26:35 -0400 Subject: [PATCH] fix(offlinedocs): use portable -r flag in copyImages.sh (#26221) ## Summary `cp --recursive` is GNU-specific and not recognized by BSD `cp` on macOS. BSD `cp` treats `--recursive` as a third path argument, producing `cp: --recursive: Not a directory`. This replaces `--recursive` (placed after operands) with the POSIX-portable `-r` flag placed before operands, which works on both Linux and macOS. --- > Generated by Coder Agents on behalf of @nickvigilante --- offlinedocs/scripts/copyImages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlinedocs/scripts/copyImages.sh b/offlinedocs/scripts/copyImages.sh index 1876fbcd1e..eea5fd76b6 100644 --- a/offlinedocs/scripts/copyImages.sh +++ b/offlinedocs/scripts/copyImages.sh @@ -1,3 +1,3 @@ #!/bin/bash -cp ../docs/images public/images --recursive +cp -r ../docs/images/ public/images