Skip to content

Commit 2b50cc3

Browse files
committed
Fix check for ios directory
1 parent 2786042 commit 2b50cc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/cocoapods.sh

Lines changed: 2 additions & 2 deletions
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)