Ensure the pods are installed if `ios/Pods/` dir isn't there

This commit is contained in:
bitsikka 2019-09-04 22:05:15 +05:45 committed by Pedro Pombeiro
parent afe345cb02
commit 083cf07670
No known key found for this signature in database
GPG Key ID: C4A24185B2AA48A1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ RCTSTATUS_DIR="$STATUS_REACT_HOME/modules/react-native-status/ios/RCTStatus"
targetBasename='Statusgo.framework' targetBasename='Statusgo.framework'
# Compare target folder with source to see if copying is required # Compare target folder with source to see if copying is required
if [ -d "$RCTSTATUS_DIR/$targetBasename" ] && \ if [ -d "$RCTSTATUS_DIR/$targetBasename" ] && [ -d $STATUS_REACT_HOME/ios/Pods/ ] && \
diff -q --no-dereference --recursive $RCTSTATUS_DIR/$targetBasename/ $RCTSTATUS_FILEPATH/ > /dev/null; then diff -q --no-dereference --recursive $RCTSTATUS_DIR/$targetBasename/ $RCTSTATUS_FILEPATH/ > /dev/null; then
echo "$RCTSTATUS_DIR/$targetBasename already in place" echo "$RCTSTATUS_DIR/$targetBasename already in place"
else else