From f17f6489ad4573d2c2a31b0f852156f84afc8c74 Mon Sep 17 00:00:00 2001 From: Yuta SATOH Date: Sun, 20 Mar 2016 15:11:35 +0900 Subject: automatic_updater.sh: added "grep clang". --- scripts/automatic_updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3-65-gdbad