Skip to content

Commit ca08afa

Browse files
chrfalchclaude
andcommitted
fix(ios-prebuild): use platform-conditional cp flags for the i18n bundle clone
Same macOS-only clonefile issue as the other copy sites; this one is on the resource-landing path the jest integration test exercises on Linux. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 1219626 commit ca08afa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/scripts/ios-prebuild/headers-compose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function emitReactFrameworkHeaders(
180180
if (i18nLocales > 0) {
181181
const dest = path.join(fwk, 'RCTI18nStrings.bundle');
182182
fs.rmSync(dest, {recursive: true, force: true});
183-
execFileSync('/bin/cp', ['-Rc', i18nBundleStage, dest]);
183+
execFileSync('/bin/cp', [CP_FLAGS, i18nBundleStage, dest]);
184184
}
185185
}
186186
fs.rmSync(stage, {recursive: true, force: true});

0 commit comments

Comments
 (0)