Quote $PYTHON variable to support paths with spaces

This commit is contained in:
Martin Freund
2018-01-24 11:43:22 +01:00
committed by GitHub
parent cc8fefe008
commit 90483e02e5

View File

@@ -153,7 +153,7 @@ $(
exec 4>&3 3>&1 1>&4 4>&-
{
_e1=0
GIT_DIR="$GIT_DIR" $PYTHON "$ROOT/hg-fast-export.py" \
GIT_DIR="$GIT_DIR" "$PYTHON" "$ROOT/hg-fast-export.py" \
--repo "$REPO" \
--marks "$GIT_DIR/$PFX-$SFX_MARKS" \
--mapping "$GIT_DIR/$PFX-$SFX_MAPPING" \