Browse Source

Prevent argument breaking by spaces

pull/571/head
Sheogorath 4 years ago
parent
commit
6ed44f0864
No known key found for this signature in database GPG Key ID: 1F05CC3635CDDFFD
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/setup

+ 2
- 2
bin/setup View File

@ -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…
Cancel
Save