Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
search: Be smarter about removing datadir and libdir to calculate a p…
…refix There are two corrections here: 1) only remove one, either the datadir or the libdir 2) only remove the directory if the whole directory can be removed, for example: the prefix is `/usr/lib/foo/x86_64-linux-gnu`, and the libdir is `lib/x86_64-linux-gnu`, we don't want to take off just the `x86_64-linux-gnu`, we want to leave the whole thing since we couldn't remove the entire libdir.
- Loading branch information