We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6c1050 commit ee392c5Copy full SHA for ee392c5
spec/fixtures/basic_web_8.0/bin/test-runtime.sh
@@ -4,7 +4,7 @@ set -euo pipefail
4
5
# Check that all dynamically linked libraries exist in the run image
6
INSTALL_DIR="$(command -v dotnet)"
7
-ldd_output=$(find "${INSTALL_DIR}" -type f,l \( -name 'dotnet' -o -name '*.so*' \) -exec ldd '{}' +)
+ldd_output=$(find "$(dirname "${INSTALL_DIR}")" -type f,l \( -name 'dotnet' -o -name '*.so*' \) -exec ldd '{}' +)
8
if grep 'not found' <<<"${ldd_output}" | sort --unique; then
9
echo "The above dynamically linked libraries were not found!"
10
exit 1
0 commit comments