Skip to content

Commit

Permalink
Bug 1338987 - Fix installation, a=bustage
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : 5ba1bcd7670c07fbc0771f0fb09dc063b8d12b1c
  • Loading branch information
martinthomson committed Mar 16, 2017
1 parent 32f4102 commit ad0007d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coreconf/precommit.clang-format.sh
Expand Up @@ -19,7 +19,7 @@ if [ "$1" = "install" ]; then
if [ "$hg" -eq 1 ]; then
hgrc="$(hg root)"/.hg/hgrc
if ! grep -q '^pretxncommit.clang-format' "$hgrc"; then
echo '[hook]' >> "$hgrc"
echo '[hooks]' >> "$hgrc"
echo 'pretxncommit.clang-format = [ ! -x ./coreconf/precommit.clang-format.sh ] || ./coreconf/precommit.clang-format.sh' >> "$hgrc"
echo "Installed mercurial pretxncommit hook"
exit
Expand Down

0 comments on commit ad0007d

Please sign in to comment.