diff options
author | Wojciech Banaś <fizista@gmail.com> | 2022-02-14 15:23:20 +0300 |
---|---|---|
committer | Wojciech Banaś <fizista@gmail.com> | 2022-02-14 15:23:20 +0300 |
commit | 4098236412d5f846f43576a35ac8694ed4783ce8 (patch) | |
tree | 6baf56462306457140989e2a3be9773e3e3579ef /include/tests_scheduling | |
parent | 4f382331b3d7d141c49a971050d3a9b61a94c511 (diff) |
#1270 added finding configuration files in the "etc" directory, even if they are symlinks
Diffstat (limited to 'include/tests_scheduling')
-rw-r--r-- | include/tests_scheduling | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_scheduling b/include/tests_scheduling index 196a2e77..3aa004c6 100644 --- a/include/tests_scheduling +++ b/include/tests_scheduling @@ -77,7 +77,7 @@ if FileIsReadable ${DIR}; then LogText "Result: found directory ${DIR}" LogText "Test: searching files in ${DIR}" - FIND=$(${FINDBINARY} ${DIR} -type f -print | ${GREPBINARY} -v ".placeholder") + FIND=$(${FINDBINARY} -L ${DIR} -type f -print | ${GREPBINARY} -v ".placeholder") if IsEmpty "${FIND}"; then LogText "Result: no files found in ${DIR}" else @@ -112,7 +112,7 @@ LogText "Result: found directory ${I}" if FileIsReadable ${I}; then LogText "Test: searching files in ${I}" - FIND=$(${FINDBINARY} ${I} -type f -print 2> /dev/null | ${GREPBINARY} -v ".placeholder") + FIND=$(${FINDBINARY} -L ${I} -type f -print 2> /dev/null | ${GREPBINARY} -v ".placeholder") if [ -z "${FIND}" ]; then LogText "Result: no files found in ${I}" else |