Do not sort/uniq eselect profile list

THIS RESULTS IN USING THE DEVELOPER PROFILE AUGH
This commit is contained in:
Salt 2020-12-02 19:39:32 -06:00
parent 272ce9e21b
commit 616a329f03

View File

@ -170,8 +170,6 @@ build-gentoo-chroot() {
eselect profile list \ eselect profile list \
| grep -ie 'stable' \ | grep -ie 'stable' \
| grep -ie "$profile" \ | grep -ie "$profile" \
| sort \
| uniq \
| head -n 1 \ | head -n 1 \
| grep -oP '\[\K[^\]]+' | grep -oP '\[\K[^\]]+'
) || error "Error finding profile: $profile" 51 ) || error "Error finding profile: $profile" 51