From fab8ee93ca575434b782876a1af5f3cff6bbba4c Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Sat, 9 Apr 2016 13:28:27 +0200
Subject: [PATCH] wine config doc: use registery key current user

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

diff --git a/docs/configure-wine.md b/docs/configure-wine.md
index f58ab7cf..a787b2e3 100644
--- a/docs/configure-wine.md
+++ b/docs/configure-wine.md
@@ -30,8 +30,8 @@ the HAWC2 executables in here:
 
 ```
 WINEDIRNAME=".wine32"
-WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit /E tmp.reg "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment"
-sed -i 's/"PATH"="C:\\\\windows\\\\system32;C:\\\\windows"/"PATH"="C:\\\\windows\\\\system32;C:\\\\windows;C:\\\\bin"/g' tmp.reg
+WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit /E tmp.reg "HKEY_CURRENT_USER\Environment"
+echo '"PATH"="c:\\bin"' >> ./tmp.reg
 WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit ./tmp.reg
 rm ./tmp.reg
 ```
-- 
GitLab