From 48782d8671e29171953aedb7410e2309ae9bfc3d Mon Sep 17 00:00:00 2001
From: David Robert Verelst <dave@dtu.dk>
Date: Mon, 11 Apr 2016 10:47:40 +0200
Subject: [PATCH] wine config: escape backslash

---
 config-wine-hawc2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config-wine-hawc2.sh b/config-wine-hawc2.sh
index a750903..61379e7 100755
--- a/config-wine-hawc2.sh
+++ b/config-wine-hawc2.sh
@@ -28,12 +28,12 @@ echo "-------- adding C:\bin to wine/Windows PATH"
 #rm ./tmp.reg
 #WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit /E ./tmp.reg "HKEY_CURRENT_USER\Environment"
 #printf '"PATH"="c:\\bin"' >> ./tmp.reg
-printf 'REGEDIT4\n[HKEY_CURRENT_USER\Environment]\n"PATH"="c:\\bin"' >> ./tmp.reg
+printf 'REGEDIT4\n[HKEY_CURRENT_USER\\Environment]\n"PATH"="c:\\bin"' >> ./tmp.reg
 WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit ./tmp.reg
 
 # do not show GUI crash dialogs
 rm ./tmp.reg
-printf '[HKEY_CURRENT_USER\Software\Wine\WineDbg]\n"ShowCrashDialog"=dword:00000000' >> ./tmp.reg
+printf '[HKEY_CURRENT_USER\\Software\\Wine\\WineDbg]\n"ShowCrashDialog"=dword:00000000' >> ./tmp.reg
 WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit ./tmp.reg
 rm ./tmp.reg
 
-- 
GitLab