1
0
Fork 0
mirror of synced 2024-11-04 17:08:56 -05:00

Add quoting

This commit is contained in:
Tim Byrne 2019-07-29 08:00:09 -05:00
parent b404a87a89
commit a399c35e4e
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

6
yadm
View file

@ -410,13 +410,13 @@ EOF
# operate on the yadm repo's configuration file
# this is always local to the machine
$GIT_PROGRAM config --local "$@"
"$GIT_PROGRAM" config --local "$@"
CHANGES_POSSIBLE=1
else
# operate on the yadm configuration file
$GIT_PROGRAM config --file="$(mixed_path "$YADM_CONFIG")" "$@"
"$GIT_PROGRAM" config --file="$(mixed_path "$YADM_CONFIG")" "$@"
fi
@ -844,7 +844,7 @@ function set_operating_system() {
case "$OPERATING_SYSTEM" in
CYGWIN*)
git_version=$($GIT_PROGRAM --version 2>/dev/null)
git_version="$("$GIT_PROGRAM" --version 2>/dev/null)"
if [[ "$git_version" =~ windows ]] ; then
USE_CYGPATH=1
fi