Sign in
android
/
kernel
/
x86
/
android-wear-7.1.1_r0.19
/
.
/
scripts
/
checkpatch.py
blob: a7c9c407e2a20c553eea9340d7cff9995f206191 [
file
] [
log
] [
blame
]
#!/usr/bin/env python
#
# This is a simple wrapper used by .git/hooks/post-commit to run
# kernel's checkpatch.pl.
import
os
import
subprocess
import
sys
cmdargs
=
sys
.
argv
[
1
:]
subprocess
.
call
(
[
os
.
path
.
join
(
"scripts"
,
"checkpatch.pl"
)]
+
cmdargs
)