Fix for some systems not supporting uname -o

This commit is contained in:
2025-01-21 22:12:49 +01:00
parent 78ea634e91
commit dc22d17c7a
+1 -1
View File
@@ -37,7 +37,7 @@ if [[ ! -f "$input" ]]; then
fi
# Fix paths for Cygwin and create working directory
if [[ "$(uname -o)" == "Cygwin" ]]; then
if [[ "$(uname)" == *"CYGWIN"* ]]; then
# Use Windows-compatible directories for Cygwin
input=$(cygpath -w "$input")
output=$(cygpath -w "$output")