Unify library building logs

This commit is contained in:
Stan
2024-12-15 10:23:23 +01:00
parent 7b195d6a5d
commit d15f1c29e4
8 changed files with 126 additions and 44 deletions
+14 -2
View File
@@ -5,8 +5,20 @@ cd "$(dirname "$0")"
LIB_VERSION=28209
if [ -e .already-built ] && [ "$(cat .already-built)" = "${LIB_VERSION}" ]; then
echo "FCollada is already up to date."
echo "Building FCollada..."
while [ "$#" -gt 0 ]; do
case "$1" in
--force-rebuild) rm -f .already-built ;;
*)
echo "Unknown option: $1"
exit 1
;;
esac
shift
done
if [ -e .already-built ] && [ "$(cat .already-built || true)" = "${LIB_VERSION}" ]; then
echo "Skipping - already built (use --force-rebuild to override)"
exit
fi