From d5a41ec9f31116bfddc162df810645ffbcfd3b3f Mon Sep 17 00:00:00 2001 From: Carlos Muniz Date: Mon, 7 Feb 2022 14:37:49 -0500 Subject: [PATCH] feat: Change symmath to xmodule scripts/post-pip-compile.sh uses common/lib/symmath/ as its sample directory to clean up after using pip-tools. Since symmath has been removed, xmodule, the largest of the directories in common/lib/ will replace it. --- scripts/post-pip-compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/post-pip-compile.sh b/scripts/post-pip-compile.sh index a87faa5984..71be02ac33 100755 --- a/scripts/post-pip-compile.sh +++ b/scripts/post-pip-compile.sh @@ -17,7 +17,7 @@ function clean_file { # Workaround for https://github.com/jazzband/pip-tools/issues/204 - # change absolute paths for local editable packages back to relative ones FILE_CONTENT=$(<${FILE_PATH}) - FILE_URL_REGEX="-e (file:///[^"$'\n'"]*)/common/lib/symmath" + FILE_URL_REGEX="-e (file:///[^"$'\n'"]*)/common/lib/xmodule" if [[ "${FILE_CONTENT}" =~ ${FILE_URL_REGEX} ]]; then BASE_FILE_URL=${BASH_REMATCH[1]} sed "s|$BASE_FILE_URL/||" ${FILE_PATH} > ${TEMP_FILE}