Skip to content

Commit

Permalink
Fix error when doing clean build using build script
Browse files Browse the repository at this point in the history
Make sure the installation directory exists before checking within it
  • Loading branch information
ekilmer authored Sep 20, 2021
1 parent 28e7561 commit a8fc64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8fc64a

Please sign in to comment.