aboutsummaryrefslogtreecommitdiff
path: root/src/make_patch.sh
blob: 2aa27c0983ab4766812113d4dc0fc3647f8c40c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -xe

cp ./src/linux/* ./linux/drivers/hid/
cp ./src/fastmouse.h ./linux/drivers/hid/
cd ./linux
git add --intent-to-add ./drivers/hid/fastmouse.h
git diff > ../fastmouse.patch

exit 0