From dbe8bd53d857754ee4452ea2d6702b5904f889ff Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Mon, 11 Apr 2016 10:32:27 +0200
Subject: [PATCH] wine config docs: do not retrieve Environment/PATH key

---
 docs/configure-wine.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/configure-wine.md b/docs/configure-wine.md
index a787b2e3..e530ed72 100644
--- a/docs/configure-wine.md
+++ b/docs/configure-wine.md
@@ -30,8 +30,7 @@ the HAWC2 executables in here:
 
 ```
 WINEDIRNAME=".wine32"
-WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit /E tmp.reg "HKEY_CURRENT_USER\Environment"
-echo '"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
 rm ./tmp.reg
 ```
-- 
GitLab