Skip to content

Commit

Permalink
feat: Change symmath to xmodule
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Carlos Muniz committed Feb 9, 2022
1 parent 46fec36 commit ffbfe19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/post-pip-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ffbfe19

Please sign in to comment.