mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
Prevent argument breaking by spaces
This commit is contained in:
parent
a99cac0cf0
commit
6ed44f0864
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ set -e
|
|||
# run command at repo root
|
||||
CURRENT_PATH=$PWD
|
||||
if [ -d .git ]; then
|
||||
cd $(git rev-parse --show-toplevel)
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
fi
|
||||
|
||||
if ! type npm > /dev/null
|
||||
|
@ -43,4 +43,4 @@ Read more info at https://github.com/hackmdio/hackmd#configuration-files
|
|||
EOF
|
||||
|
||||
# change directory back
|
||||
cd $CURRENT_PATH
|
||||
cd "$CURRENT_PATH"
|
||||
|
|
Loading…
Reference in a new issue