commit:     d8445a5821d1f173066acc0568239e07f9737593
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 15:51:43 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 15:51:43 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=d8445a58

compile_unionfs_fuse(): Show message when bincache was used

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_compile.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gen_compile.sh b/gen_compile.sh
index 0f32b13..e350dad 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -822,8 +822,10 @@ compile_unionfs_fuse() {
 }
 
 compile_iscsi() {
-       if [ ! -f "${ISCSI_BINCACHE}" ]
+       if [ -f "${ISCSI_BINCACHE}" ]
        then
+               print_info 1 "$(getIndent 3)iSCSI: Using cache"
+       else
                [ ! -f "${ISCSI_SRCTAR}" ] &&
                        gen_die "Could not find iSCSI source tarball: 
${ISCSI_SRCTAR}. Please place it there, or place another version, changing 
/etc/genkernel.conf as necessary!"
                cd "${TEMP}"

Reply via email to