Fix SPACK-93, SPACK-94, GitHub #150
- `remove_prefix` was modified to remove from the DB, but the package may not have been added to the DB yet when `remove_prefix` is called from `cleanup`. - Made `remove_prefix` a pure utility function (it just removes the prefix) - Added `installed_db.remove()` call only after the `remove_prefix` in `uninstall`.
Showing
- lib/spack/spack/cmd/reindex.py 2 additions, 3 deletionslib/spack/spack/cmd/reindex.py
- lib/spack/spack/database.py 5 additions, 14 deletionslib/spack/spack/database.py
- lib/spack/spack/package.py 2 additions, 2 deletionslib/spack/spack/package.py
- lib/spack/spack/test/database.py 9 additions, 2 deletionslib/spack/spack/test/database.py
Loading
Please register or sign in to comment