Skip to content

Commit a521863

Browse files
committed
Fix check for ios directory
1 parent fae5b21 commit a521863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/cocoapods.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## https://github.com/auth0/react-native-lock/blob/master/bin/cocoapods.sh
44

55
ios_dir=`pwd`/ios
6-
if [ -d ios_dir ]
6+
if [ ! -d $ios_dir ]
77
then
88
exit 0
99
fi
@@ -45,4 +45,4 @@ cd ..
4545

4646
echo "Installing Pods"
4747

48-
pod install --project-directory=ios
48+
pod install --project-directory=ios

0 commit comments

Comments
 (0)