mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-18 00:46:47 +01:00
Use $(..) instead of ``
This commit is contained in:
parent
9633f69b74
commit
99b057a9ae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user