Skip to content

Commit

Permalink
Patchy triangles
Browse files Browse the repository at this point in the history
  • Loading branch information
krystophny committed Dec 17, 2024
1 parent 062d719 commit 51d05d8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions cmake/setup_triangle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ fi


echo "Building Triangle..."
while read -r patch; do
patch -p1 < "debian/patches/$patch"
done < debian/patches/series
if [ -f is_patched ]; then
echo "Triangle already patched."
else
echo "Patching Triangle..."
while read -r patch; do
patch -p1 < "debian/patches/$patch"
done < debian/patches/series
touch is_patched
fi

echo "Building Triangle..."

Expand Down

0 comments on commit 51d05d8

Please sign in to comment.