aboutsummaryrefslogtreecommitdiff
path: root/patch.sh
blob: 59934865a6ee2ab83f5a3f621b603713cb8cb23a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
cd ..
./setup.sh # restore symlinks for development