☰
Debian Codegraph
@
2.71-1
/
/
git
/
hooks
/
pre-commit.sh
☽
☼
git/hooks/pre-commit.sh
code
plain
raw
Artistic-2.0
2023, Dave Rolsky <
[email protected]
>
debian/copyright
1
#!/bin/bash
2
3
status=0
4
5
PRECIOUS=$(which precious)
6
if [[ -z $PRECIOUS ]]; then
7
PRECIOUS=./bin/precious
8
fi
9
10
"$PRECIOUS" lint -s
11
if (( $? != 0 )); then
12
status+=1
13
fi
14
15
exit $status