Compare commits

...

1 Commits

Author SHA1 Message Date
Matthias Ladkau 01d3aa9c57 Fixed a bug with locale 2026-09-30 08:34:59 +02:00
+3
View File
@@ -7,6 +7,9 @@
# Usage: ./setup.sh [--model <ollama-tag>] [--gpu|--no-gpu] [--yes] # Usage: ./setup.sh [--model <ollama-tag>] [--gpu|--no-gpu] [--yes]
set -euo pipefail set -euo pipefail
cd "$(dirname "$0")" cd "$(dirname "$0")"
# Numeric formatting/parsing below assumes '.' as the decimal point (awk, sort -n).
# A locale like de_DE (comma decimal separator) would corrupt those comparisons.
export LC_ALL=C
FORCE_MODEL=""; FORCE_GPU=""; ASSUME_YES=0 FORCE_MODEL=""; FORCE_GPU=""; ASSUME_YES=0
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do