diff options
author | Yuta SATOH <nigoro.dev@gmail.com> | 2016-03-20 17:22:09 +0900 |
---|---|---|
committer | Yuta SATOH <nigoro.dev@gmail.com> | 2016-03-20 17:22:09 +0900 |
commit | 8adf5b9290731571ecd882bf5407d9db14a6d0d4 (patch) | |
tree | 3a3ad2eda0ccbd0f4501de2309de920b27ee6d96 | |
parent | automatic_updater.sh: added "grep clang". (diff) | |
download | gentoo-bsd-8adf5b9290731571ecd882bf5407d9db14a6d0d4.tar.gz gentoo-bsd-8adf5b9290731571ecd882bf5407d9db14a6d0d4.tar.bz2 gentoo-bsd-8adf5b9290731571ecd882bf5407d9db14a6d0d4.zip |
automatic_updater.sh: added update clang.
-rwxr-xr-x | scripts/automatic_updater.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/automatic_updater.sh b/scripts/automatic_updater.sh index 5562722..b49d2b2 100755 --- a/scripts/automatic_updater.sh +++ b/scripts/automatic_updater.sh @@ -67,7 +67,7 @@ update_minimal(){ fi } -update_gcc(){ +update_toolchain(){ if [[ $(uname -p) == "amd64" ]] ; then gsed -i "s:CHOST=.*:CHOST=\"x86_64-gentoo-freebsd${TARGETVER}\":g" /etc/portage/make.conf else @@ -82,6 +82,7 @@ update_gcc(){ source /etc/profile emerge sys-devel/libtool --exclude sys-freebsd/* emerge sys-devel/binutils --exclude sys-freebsd/* + type -P clang > /dev/null && emerge -u sys-devel/clang --exclude sys-freebsd/* } remove_pmask(){ @@ -147,7 +148,7 @@ case "$TARGETMODE" in create_pmask update_portage update_minimal - update_gcc + update_toolchain update_kernel remove_pmask ;; |