Add quoting
This commit is contained in:
parent
b404a87a89
commit
a399c35e4e
1 changed files with 3 additions and 3 deletions
6
yadm
6
yadm
|
@ -410,13 +410,13 @@ EOF
|
||||||
|
|
||||||
# operate on the yadm repo's configuration file
|
# operate on the yadm repo's configuration file
|
||||||
# this is always local to the machine
|
# this is always local to the machine
|
||||||
$GIT_PROGRAM config --local "$@"
|
"$GIT_PROGRAM" config --local "$@"
|
||||||
|
|
||||||
CHANGES_POSSIBLE=1
|
CHANGES_POSSIBLE=1
|
||||||
|
|
||||||
else
|
else
|
||||||
# operate on the yadm configuration file
|
# operate on the yadm configuration file
|
||||||
$GIT_PROGRAM config --file="$(mixed_path "$YADM_CONFIG")" "$@"
|
"$GIT_PROGRAM" config --file="$(mixed_path "$YADM_CONFIG")" "$@"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -844,7 +844,7 @@ function set_operating_system() {
|
||||||
|
|
||||||
case "$OPERATING_SYSTEM" in
|
case "$OPERATING_SYSTEM" in
|
||||||
CYGWIN*)
|
CYGWIN*)
|
||||||
git_version=$($GIT_PROGRAM --version 2>/dev/null)
|
git_version="$("$GIT_PROGRAM" --version 2>/dev/null)"
|
||||||
if [[ "$git_version" =~ windows ]] ; then
|
if [[ "$git_version" =~ windows ]] ; then
|
||||||
USE_CYGPATH=1
|
USE_CYGPATH=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue