aboutsummaryrefslogtreecommitdiff
path: root/patch.sh
diff options
context:
space:
mode:
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