View Single Post
Old 03-05-2020, 05:27 AM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,025
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by snarkophilus View Post
Somewhere along the way the cygwin part of kobopatch.sh seems to moved into the Linux case statement, so when you run kobopatch.sh on cygwin nothing happens. Most annoying .

The following patch moves it back to where it should be.

Code:
--- kobopatch.sh.ORIG   2020-03-05 20:44:04.775936600 +1100
+++ kobopatch.sh        2020-03-04 22:43:57.836440400 +1100
@@ -19,11 +19,11 @@
             aarch64)
                 ./bin/kobopatch-linux-arm
                 ;;
-            CYGWIN_NT*)
-                ./bin/koboptch-windows.exe
-                ;;
             *)
                 echo "Unsupported architecture"
        esac
        ;;
+    CYGWIN_NT*)
+       ./bin/koboptch-windows.exe
+       ;;
 esac
Why not just use the .bat file under Windows proper?
JSWolf is offline   Reply With Quote