aboutsummaryrefslogtreecommitdiff
path: root/scripts/odp_check
blob: 33809dc2aff3e17dd54adb7181418c04756a6446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#
# This script is a clean up for the ODP project src files.
#
# Usage
# ./scripts/opd_check <path/filename>
set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

$DIR/cleanfile $1
$DIR/checkpatch.pl -f $1