shithub: rgbds

Download patch

ref: 21ffcc74db3077b2cf298ace7445e5993300b2fe
parent: 9e99db9a8e2071113da1f54695476c10d26c0221
author: ISSOtm <[email protected]>
date: Mon Feb 17 09:32:35 EST 2020

Don't use `echo -e` for creating the Wine shim

Apparently that's not as portable as I expected.

--- a/Makefile
+++ b/Makefile
@@ -237,7 +237,8 @@
 		PKG_CONFIG=x86_64-w64-mingw32-pkg-config -j
 
 wine-shim:
-	$Qecho -e '#!/bin/sh\nWINEDEBUG=-all wine $$0.exe "$${@:1}"' > rgbshim.sh
+	$Qecho '#!/bin/sh' > rgbshim.sh
+	$Qecho 'WINEDEBUG=-all wine $$0.exe "$${@:1}"' >> rgbshim.sh
 	$Qchmod +x rgbshim.sh
 	$Qln -s rgbshim.sh rgbasm
 	$Qln -s rgbshim.sh rgblink