mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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…
Reference in New Issue
Block a user