diff --git a/build/pkgs/sagelib/spkg-install b/build/pkgs/sagelib/spkg-install index f17ef00d737..cc9f1ae8301 100755 --- a/build/pkgs/sagelib/spkg-install +++ b/build/pkgs/sagelib/spkg-install @@ -54,7 +54,7 @@ else (cd "$SITEPACKAGESDIR" && rm -f sagemath-standard.egg-link) time python3 -u setup.py --no-user-cfg install || exit 1 # Run the installation cleaner (no longer part of the sagemath-standard install procedure.) - BUILD_BASE=$(cd src && pwd)/build + BUILD_BASE=$(pwd)/build (cd ../install-cleaner && python3 -u setup.py --no-user-cfg build --build-base=$BUILD_BASE install) fi