From 90483e02e57d557714f5dd934f16ecb3c7f2e63f Mon Sep 17 00:00:00 2001 From: Martin Freund Date: Wed, 24 Jan 2018 11:43:22 +0100 Subject: [PATCH] Quote $PYTHON variable to support paths with spaces --- hg-fast-export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hg-fast-export.sh b/hg-fast-export.sh index 7c36a50..1e9be36 100755 --- a/hg-fast-export.sh +++ b/hg-fast-export.sh @@ -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" \ -- 2.11.4.GIT