1
0

Fix shell location.

This commit is contained in:
Alexander Harkness 2015-11-02 19:14:49 +00:00
parent ad8b711b4d
commit 231fa29174

View File

@ -50,7 +50,7 @@ When contributing, the code conventions above *must* be followed. Otherwise, the
* Clone the repository as usual. * Clone the repository as usual.
* Go to your `<clone location>/.git/hooks` folder, create a text file named "pre-commit" there with the following contents: * Go to your `<clone location>/.git/hooks` folder, create a text file named "pre-commit" there with the following contents:
``` ```
#!/usr/sh #!/bin/sh
src/CheckBasicStyle.lua 1>&2 -g src/CheckBasicStyle.lua 1>&2 -g
``` ```
* If on Linux/Unix, you need to give the newly created file an execute permission: `chmod +x .git/hooks/pre-commit` * If on Linux/Unix, you need to give the newly created file an execute permission: `chmod +x .git/hooks/pre-commit`