mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-23 14:36:47 +00:00
scripts/pre-commit s/Flow/Thanks/
Remove comment about using make; no Makefile Change-Id: If3f7da5a39b7c208f57a0f588c84715959e822a3
This commit is contained in:
parent
33789e98ab
commit
2dd30b20ab
|
@ -1,11 +1,8 @@
|
|||
#!/bin/bash
|
||||
# Enable all the git hooks by executing the following from the project root directory
|
||||
# $ make installhooks
|
||||
#
|
||||
# Code from https://gist.github.com/holysugar/1318698 , simpler than
|
||||
# http://stackoverflow.com/a/6262715/451712
|
||||
|
||||
# Work out location of Flow/scripts/ directory
|
||||
# Work out location of Thanks/scripts/ directory
|
||||
dir=$(dirname $(php -r "echo realpath('$0'), \"\\n\";"))
|
||||
# Move to the project root
|
||||
cd $(dirname $dir)
|
||||
|
|
Loading…
Reference in a new issue