Skip to content

Commit d5d7ad2

Browse files
author
Guido Marucci Blas
committed
Fix bug in carthage bootstrap.
1 parent bd0d15a commit d5d7ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ bootstrap_carthage ()
133133
carthage_cmd="$carthage_cmd --no-use-binaries"
134134
fi
135135

136-
if [ -z $DISABLE_CARTHAGE_CACHE ] && type bundle > /dev/null && bundle show carthage_cache > /dev/null && [ -f .carthage_cache.yml ]
136+
if [ -z $DISABLE_CARTHAGE_CACHE ] && type bundle > /dev/null && bundle show carthage_cache > /dev/null && ([ ! -z $DISABLE_CARTHAGE_CACHE_CONFIG ] || [ -f .carthage_cache.yml ])
137137
then
138138
carthage_cmd="(bundle exec carthage_cache install || $carthage_cmd) && bundle exec carthage_cache publish"
139139
fi

0 commit comments

Comments
 (0)