Skip to content

Commit ee392c5

Browse files
committed
WIP
1 parent b6c1050 commit ee392c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/fixtures/basic_web_8.0/bin/test-runtime.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44

55
# Check that all dynamically linked libraries exist in the run image
66
INSTALL_DIR="$(command -v dotnet)"
7-
ldd_output=$(find "${INSTALL_DIR}" -type f,l \( -name 'dotnet' -o -name '*.so*' \) -exec ldd '{}' +)
7+
ldd_output=$(find "$(dirname "${INSTALL_DIR}")" -type f,l \( -name 'dotnet' -o -name '*.so*' \) -exec ldd '{}' +)
88
if grep 'not found' <<<"${ldd_output}" | sort --unique; then
99
echo "The above dynamically linked libraries were not found!"
1010
exit 1

0 commit comments

Comments
 (0)