From a8fc64a49ffddbadd24ef08fd5ec0aaada4e1d77 Mon Sep 17 00:00:00 2001 From: Eric Kilmer Date: Mon, 20 Sep 2021 11:39:39 -0400 Subject: [PATCH] Fix error when doing clean build using build script Make sure the installation directory exists before checking within it --- build_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_dependencies.sh b/build_dependencies.sh index d4244585..df855e3c 100755 --- a/build_dependencies.sh +++ b/build_dependencies.sh @@ -184,7 +184,7 @@ fi triplets_array=() if echo "${VCPKG_ARGS[@]}" | grep -w -v -q -- '--triplet=' ; then # Check if triplet exists in export directory - if [ -d "${EXPORT_DIR}" ]; then + if [ -d "${EXPORT_DIR}/installed" ]; then for f in "${EXPORT_DIR}/installed/"* ; do dirname="${f##*/}" if [ "$dirname" != "vcpkg" ]; then