summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro.dev@gmail.com>2016-03-20 15:11:35 +0900
committerYuta SATOH <nigoro.dev@gmail.com>2016-03-20 15:11:35 +0900
commitf17f6489ad4573d2c2a31b0f852156f84afc8c74 (patch)
treefa89948cd62ead2e2062ecc4799a0c29b78be548 /scripts
parentautomatic_updater.sh: added create,remove p.mask. (diff)
downloadgentoo-bsd-f17f6489ad4573d2c2a31b0f852156f84afc8c74.tar.gz
gentoo-bsd-f17f6489ad4573d2c2a31b0f852156f84afc8c74.tar.bz2
gentoo-bsd-f17f6489ad4573d2c2a31b0f852156f84afc8c74.zip
automatic_updater.sh: added "grep clang".
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/automatic_updater.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automatic_updater.sh b/scripts/automatic_updater.sh
index 1fedb5c..5562722 100755
--- a/scripts/automatic_updater.sh
+++ b/scripts/automatic_updater.sh
@@ -15,7 +15,7 @@ fi
set_profile(){
emerge --info | head -n 1 | grep clang && :
if [[ $? -eq 0 ]] ; then
- eselect profile set $(eselect profile list | grep "${TARGETVER}" | awk '{print $1}' | sed 's:\[::g' | sed 's:\]::g' | tail -n 1)
+ eselect profile set $(eselect profile list | grep "${TARGETVER}" | grep clang | awk '{print $1}' | sed 's:\[::g' | sed 's:\]::g' | tail -n 1)
else
eselect profile set $(eselect profile list | grep "${TARGETVER}" | grep -v clang | awk '{print $1}' | sed 's:\[::g' | sed 's:\]::g' | tail -n 1)
fi