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
This commit is contained in:
Nick Vigilante
2026-06-12 13:26:35 -04:00
committed by GitHub
parent 61ec5accdb
commit 7425a3927e
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash
cp ../docs/images public/images --recursive
cp -r ../docs/images/ public/images