From 4ab8f4a49a618da71f1aa1fc6f0267d5850d8424 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Tue, 18 Mar 2025 21:11:15 +1100 Subject: Add setup/patch scripts --- patch.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 patch.sh (limited to 'patch.sh') 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 -- cgit v1.2.3