summaryrefslogtreecommitdiffstats
path: root/keyboard/ergodox_ez/190hotfix.sh
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-06-21 22:39:54 -0400
committerGitHub <noreply@github.com>2016-06-21 22:39:54 -0400
commit649b33d7783cf3021928534b7ae127e0a89e8807 (patch)
treec2b5e0cf8ff4aa2918e3b88ab75dbdb071cc0a1d /keyboard/ergodox_ez/190hotfix.sh
parent464c8e274f993d3571fe5ea5e836fe55a3912ffe (diff)
Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432)
* fixes from tmk's repo * rename keyboard to keyboards
Diffstat (limited to 'keyboard/ergodox_ez/190hotfix.sh')
-rwxr-xr-xkeyboard/ergodox_ez/190hotfix.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/keyboard/ergodox_ez/190hotfix.sh b/keyboard/ergodox_ez/190hotfix.sh
deleted file mode 100755
index bdc3adce22..0000000000
--- a/keyboard/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!