diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2005-05-08 17:05:32 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2005-05-08 17:05:32 +0000 |
commit | 3fd208509778556d7a724d91daf347365824852c (patch) | |
tree | 9658b2e0b6d9d38c10337b7adc9d07cfa60c9e8e | |
parent | Add in highlighting for text (diff) | |
download | eselect-3fd208509778556d7a724d91daf347365824852c.tar.gz eselect-3fd208509778556d7a724d91daf347365824852c.tar.bz2 eselect-3fd208509778556d7a724d91daf347365824852c.zip |
Minor changes to use the new hightlight function.
svn path=/trunk/; revision=64
-rw-r--r-- | modules/blas.eclectic | 6 | ||||
-rw-r--r-- | modules/lapack.eclectic | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/blas.eclectic b/modules/blas.eclectic index 2a3b1e4..25268fe 100644 --- a/modules/blas.eclectic +++ b/modules/blas.eclectic @@ -191,7 +191,7 @@ do_set() { [[ -n ${mylibdirs[@]} ]] && libdirs=${mylibdirs[@]} [[ -n ${myprofiles[@]} ]] && profiles=${myprofiles[@]} - write_list_start "Changing BLAS implementation to ${impl} in" + write_list_start "Changing BLAS implementation to $(highlight ${impl}) in" echo " ${libdirs}" write_list_start "Affected language interfaces" echo " ${profiles}" @@ -222,12 +222,12 @@ do_show() { impl=$(load_config blas "${prof}_${libdir}_CURRENT") if [[ -z ${impl} ]] ; then [[ -n $(load_config lapack "${prof}_${libdir}") ]] \ - && die -q "Configuration file is broken. Please run update." + && die -q "Configuration file is broken. Please run scan." else if is_active_${impl} ${ROOT}/usr/${libdir}/${lib} ; then write_kv_list_entry "${prefix} (${prof})" "${impl} ($(package ${impl}))" else - die -q "Configuration file is out of date. Please run update." + die -q "Configuration file is out of date. Please run scan." fi fi done diff --git a/modules/lapack.eclectic b/modules/lapack.eclectic index b86d432..32a4bc5 100644 --- a/modules/lapack.eclectic +++ b/modules/lapack.eclectic @@ -153,7 +153,7 @@ do_set() { [[ -n ${mylibdirs[@]} ]] && libdirs=${mylibdirs[@]} [[ -n ${myprofiles[@]} ]] && profiles=${myprofiles[@]} - write_list_start "Changing LAPACK implementations to ${impl} in" + write_list_start "Changing LAPACK implementations to $(highlight ${impl}) in" echo " ${libdirs}" write_list_start "Affected language interfaces" echo " ${profiles}" @@ -184,12 +184,12 @@ do_show() { impl=$(load_config lapack "${prof}_${libdir}_CURRENT") if [[ -z ${impl} ]] ; then [[ -n $(load_config lapack "${prof}_${libdir}") ]] \ - && die -q "Configuration file is broken. Please run update." + && die -q "Configuration file is broken. Please run scan." else if is_active_${impl} ${ROOT}/usr/${libdir}/${lib} ; then write_kv_list_entry "${prefix} (${prof})" "${impl} ($(package ${impl}))" else - die -q "Configuration file is out of date. Please run update." + die -q "Configuration file is out of date. Please run scan." fi fi done |