Skip to content

Commit 043a9ae

Browse files
authored
Merge pull request #422 from dencze/issue-421
Issue #421: fix grep output to return number of lines
2 parents 277b7ff + 7ecb1e4 commit 043a9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/run-tests-in-virtual-screen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ "${ROBOT_TEST_RUN_ID}" = "" ]
66
then
77
ROBOT_REPORTS_FINAL_DIR="${ROBOT_REPORTS_DIR}"
88
else
9-
REPORTS_DIR_HAS_TRAILING_SLASH=`echo ${ROBOT_REPORTS_DIR} | grep '/$'`
9+
REPORTS_DIR_HAS_TRAILING_SLASH=`echo ${ROBOT_REPORTS_DIR} | grep -c '/$'`
1010

1111
if [ ${REPORTS_DIR_HAS_TRAILING_SLASH} -eq 0 ]
1212
then

0 commit comments

Comments
 (0)