Skip to content

Commit 2c19252

Browse files
Quote ALL the paths.
1 parent d46e758 commit 2c19252

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

envcov.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ ENV_DIR="${DIR}"
1010
if [[ $DIR == *Pods/XcodeCoverage* ]]
1111
then
1212
echo "Using Cocoapods!"
13-
cd ${DIR}
13+
cd "${DIR}"
1414
cd ..
1515
cd ..
1616

1717
#The env.sh file will be in the project root.
1818
ENV_DIR="$(pwd)"
1919
fi
2020

21-
source ${ENV_DIR}/env.sh
21+
source "${ENV_DIR}/env.sh"
2222

2323
# Change the report name if you like:
2424
LCOV_INFO=Coverage.info
@@ -33,7 +33,7 @@ then
3333
fi
3434

3535
LCOV_PATH="${XCODECOVERAGE_PATH}/lcov-1.11/bin"
36-
OBJ_DIR=${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}
36+
OBJ_DIR="${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}"
3737

3838
# Fix for the new LLVM-COV that requires gcov to have a -v paramter
3939
LCOV() {

getcov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77

88
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
9-
source ${DIR}/envcov.sh
9+
source "${DIR}/envcov.sh"
1010

1111
remove_old_report()
1212
{

0 commit comments

Comments
 (0)