Skip to content

Commit bfd5fe2

Browse files
huntiefacebook-github-bot
authored andcommitted
Fix react_native_pods_utils copy step under Eden (#38719)
Summary: Pull Request resolved: #38719 This removes a point of friction where the `moveOutputs` script step would fail to copy extended file attributes under [EdenFS](https://github.com/facebook/sapling/blob/29362eb4fd06b63a2184f5cce729c304c70b0582/eden/fs/docs/Overview.md). Changelog: [Internal] Reviewed By: cipolleschi, dmytrorykun Differential Revision: D47951246 fbshipit-source-id: 0a22d623b5e8c60c68778d3458a9046aeafbe87f
1 parent 5eaf28b commit bfd5fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/scripts/react_native_pods_utils/script_phases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ moveOutputs () {
104104
mkdir -p "$RCT_SCRIPT_OUTPUT_DIR"
105105

106106
# Copy all output to output_dir
107-
cp -R "$TEMP_OUTPUT_DIR/." "$RCT_SCRIPT_OUTPUT_DIR" || exit 1
107+
cp -R -X "$TEMP_OUTPUT_DIR/." "$RCT_SCRIPT_OUTPUT_DIR" || exit 1
108108
echo "$LIBRARY_NAME output has been written to $RCT_SCRIPT_OUTPUT_DIR:" >> "${SCRIPT_OUTPUT_FILE_0}" 2>&1
109109
ls -1 "$RCT_SCRIPT_OUTPUT_DIR" >> "${SCRIPT_OUTPUT_FILE_0}" 2>&1
110110
}

0 commit comments

Comments
 (0)