Skip to content

Commit c78eda7

Browse files
committed
fix: #40 missing quoted variables on macOS test
1 parent 96f5d00 commit c78eda7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test-runner/run-tests-in-darwin.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PATH_DIR_CURRENT=$(cd "$(dirname "${BASH_SOURCE:-$0}")" && pwd)
88
PATH_DIR_PARENT=$(cd "$(dirname "${PATH_DIR_CURRENT}")" && pwd)
99
PATH_DIR_ROOT=$(dirname "${PATH_DIR_PARENT}")
1010

11-
cd $PATH_DIR_PARENT
11+
cd "$PATH_DIR_PARENT"
1212

1313
set -eu
1414

@@ -19,7 +19,7 @@ set -eu
1919
INDENT=' ' # Indentation depth for multiline output
2020

2121
function indentStdin() {
22-
while read line; do
22+
while read -r line; do
2323
echo "${INDENT}${line}"
2424
done
2525
echo
@@ -73,6 +73,6 @@ tar --version
7373
# -----------------------------------------------------------------------------
7474
# Run Actual Tests
7575
# -----------------------------------------------------------------------------
76-
/bin/bash $PATH_DIR_CURRENT/common-tests.sh
76+
/bin/bash "${PATH_DIR_CURRENT}/common-tests.sh"
7777

7878
exit $?

0 commit comments

Comments
 (0)