commit:     3c4b8ba60a919577de1178221fbd1d4b4ec6ef19
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 22:55:53 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 22:55:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4b8ba6

tmpfiles.eclass: fix 'if' statement syntax

 eclass/tmpfiles.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass
index d66545e..e59f200 100644
--- a/eclass/tmpfiles.eclass
+++ b/eclass/tmpfiles.eclass
@@ -66,7 +66,7 @@ dotmpfiles() {
        use kernel_linux || return 0
        local f
        for f; do
-               if [[ ${f} != *.conf ]]
+               if [[ ${f} != *.conf ]]; then
                        die "tmpfiles.d files must end with .conf"
                fi
        done

Reply via email to