Fix for some systems not supporting uname -o
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user