summaryrefslogtreecommitdiff
path: root/buildscripts/generate_compile_expansions.py
diff options
context:
space:
mode:
authorRobert Guo <robert.guo@mongodb.com>2021-04-02 09:25:49 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-02 14:33:05 +0000
commita36cc452e1e49305eb4f2505eae770b75fe08d5f (patch)
treefaf8f6dd00a7db5ce72448b0d8ee2e555ff7a1cd /buildscripts/generate_compile_expansions.py
parent31b4ee371c912e98b082158b884eb3cf2a5901ed (diff)
downloadmongo-a36cc452e1e49305eb4f2505eae770b75fe08d5f.tar.gz
Revert "SERVER-55300 Implement expansions handling for standalone shell"
This reverts commit 24aa56a6ed096a470f1380709b87084ff74106b5.
Diffstat (limited to 'buildscripts/generate_compile_expansions.py')
-rwxr-xr-xbuildscripts/generate_compile_expansions.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/buildscripts/generate_compile_expansions.py b/buildscripts/generate_compile_expansions.py
index cd3b7c63b0c..653f01502cb 100755
--- a/buildscripts/generate_compile_expansions.py
+++ b/buildscripts/generate_compile_expansions.py
@@ -11,7 +11,6 @@ import json
import os
import re
import sys
-import shlex
import yaml
VERSION_JSON = "version.json"
@@ -95,8 +94,8 @@ def generate_scons_cache_expansions():
scons_cache_mode = "nolinked"
if os.getenv("USE_SCONS_CACHE") not in (None, False, "false", ""):
- expansions["scons_cache_args"] = "--cache={0} --cache-dir={1}".format(
- scons_cache_mode, shlex.quote(default_cache_path))
+ expansions["scons_cache_args"] = "--cache={0} --cache-dir='{1}'".format(
+ scons_cache_mode, default_cache_path)
return expansions