Use $(..) instead of ``

This commit is contained in:
squidfunk 2017-01-14 18:12:28 +01:00
parent 9633f69b74
commit 99b057a9ae

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Determine current branch
BRANCH=`git rev-parse --abbrev-ref HEAD`
BRANCH=$(git rev-parse --abbrev-ref HEAD)
echo "Hook[pre-commit]: Checking branch..."
# If we're on master, abort commit