Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions crossdev
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,14 @@ uninstall() {

setup_portage_vars

for hchost in "${HCHOSTS[@]}"; do
if [[ ${hchost} == "${CTARGET}" ]] ; then
eerror "Refusing to delete a cross-compiler using the same"
eerror "target name as your host utils."
exit 1
fi
done

ewarn "Uninstalling target '${CTARGET}' ..."

# clean out portage config files
Expand Down