aboutsummaryrefslogtreecommitdiff
path: root/patch.bat
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-10-23 01:29:57 +0200
committerJohn Ankarström <john@ankarstrom.se>2020-10-23 01:29:57 +0200
commiteecc489a5576401219e90e7ba4bf690951c6d452 (patch)
tree6dafb5b81b3ca82750f49315f9f9de7dedc5e0cf /patch.bat
parent367c886b56654f0296b0ab82b6231565488a9594 (diff)
downloaddrm-eecc489a5576401219e90e7ba4bf690951c6d452.tar.gz
customize 1.4.3
Diffstat (limited to 'patch.bat')
-rw-r--r--patch.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/patch.bat b/patch.bat
new file mode 100644
index 0000000..5ccd33e
--- /dev/null
+++ b/patch.bat
@@ -0,0 +1,9 @@
+@echo off
+setlocal
+cd /d %~dp0
+if "%~1" == "" (
+ echo Error: argument missing
+ pause
+ exit /b
+)
+sed "s/^ ; Custom rules$/ #IncludeAgain %%A_ScriptDir%%\\\\drm.x/" "%~1" > drm.ahk \ No newline at end of file