Gitiles
Code Review
Sign In
review.sourcearcade.org
/
flashprog
/
refs/heads/main
/
.
/
util
/
git-hooks
/
wrapper.sh
blob: 3fc3e05c6bd61fabe77acb48cf18081dc4d82832 [
file
] [
log
] [
blame
]
Stefan Tauner
7634708
2016-11-27 17:45:49 +0100
[
diff
] [
blame
]
1
#!/bin/sh
2
3
if
[
-
x $0
.
local
];
then
4
$0
.
local
"$@"
||
exit $
?
5
fi
6
7
hook
=
$
(
git rev
-
parse
--
show
-
toplevel
)
"/util/git-hooks/"
$
(
basename $0
)
8
if
[
-
x $hook
];
then
9
$hook
"$@"
||
exit $
?
10
fi