We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80dd422 commit 848eb29Copy full SHA for 848eb29
envcov.sh
@@ -1,3 +1,4 @@
1
+#!/bin/bash
2
#
3
# Copyright 2014 Jonathan M. Reid. See LICENSE.txt
4
# Created by: Jon Reid, http://qualitycoding.org/
@@ -7,7 +8,7 @@
7
8
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
9
ENV_DIR="${DIR}"
10
-if [[ $DIR == *Pods/XcodeCoverage* ]]
11
+if [[ "$DIR" == *Pods/XcodeCoverage* ]]
12
then
13
echo "Using Cocoapods!"
14
cd "${DIR}"
@@ -25,7 +26,7 @@ LCOV_INFO=Coverage.info
25
26
27
XCODECOVERAGE_PATH="${SRCROOT}/XcodeCoverage"
28
29
30
31
32
#The current directory will be where XcodeCoverage is living, not in SRCROOT
0 commit comments