aboutsummaryrefslogtreecommitdiff
path: root/patch.sh
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-03-18 21:11:15 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-03-18 21:11:15 +1100
commit4ab8f4a49a618da71f1aa1fc6f0267d5850d8424 (patch)
treeae81257738de55a23dd82380f2ce0edb66a79e2b /patch.sh
parent08e14c8f182767fd5c1f977288ee998206bb9994 (diff)
Add setup/patch scripts
Diffstat (limited to 'patch.sh')
-rwxr-xr-xpatch.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/patch.sh b/patch.sh
new file mode 100755
index 0000000..c78e526
--- /dev/null
+++ b/patch.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Setup creates a symlink - we have to replace it with the
+# actual file for git diff to work.
+
+set -x
+
+rm ./linux/drivers/hid/hid-input.c
+cp ./src/hid-input.c ./linux/drivers/hid/hid-input.c
+
+cd ./linux
+git diff >> ../fastmouse.patch