aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/190hotfix.sh
diff options
context:
space:
mode:
authorGravatar Josh Colbeck <skrymir@gmail.com>2017-02-21 20:31:16 -0600
committerGravatar Josh Colbeck <skrymir@gmail.com>2017-02-21 20:31:16 -0600
commite51001efcc3ff8b64f8264e8bd4c2dbea15f3364 (patch)
treebdf5a0a4b44d5e63ba1376b70d94f64c77f3c90c /keyboards/ergodox_ez/190hotfix.sh
parentc56693f858cb3409e4a68a8e65a1370c022a51ed (diff)
parent7ff41df32c29bca4e3a6efc3047b8fa93bb99b92 (diff)
downloadqmk_firmware-e51001efcc3ff8b64f8264e8bd4c2dbea15f3364.tar.gz
Merge remote-tracking branch 'qmk/master'
Diffstat (limited to 'keyboards/ergodox_ez/190hotfix.sh')
-rwxr-xr-xkeyboards/ergodox_ez/190hotfix.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/keyboards/ergodox_ez/190hotfix.sh b/keyboards/ergodox_ez/190hotfix.sh
deleted file mode 100755
index bdc3adce2..000000000
--- a/keyboards/ergodox_ez/190hotfix.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-#a tool to fix broken keymaps as a result of pull request #190
-#changing the declaration of matrix_scan_user() and matrix_init_user()
-#
-#This script will save a copy of the specified keymap as keymap.c.bak
-#and then create a new keymap.c with the definion corrected.
-#this script must be run from the ergodox_ez directory
-if [ $# -ne 1 ]; then
- echo $0: usage: ./190hotfix keymap_name
- exit 1
-fi
-
-echo Saving backup as ./keymaps/$1/keymap.c.bak ...
-mv ./keymaps/$1/keymap.c ./keymaps/$1/keymap.c.bak
-
-echo Modifying ./keymaps/$1/keymap.c ...
-cat ./keymaps/$1/keymap.c.bak | sed -r 's/^void \* matrix_/void matrix_/'>./keymaps/$1/keymap.c
-
-echo Complete!