Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 01 Dec 2016 22:56:23
Message-Id: 1480632953.3c4b8ba60a919577de1178221fbd1d4b4ec6ef19.floppym@gentoo
1 commit: 3c4b8ba60a919577de1178221fbd1d4b4ec6ef19
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 22:55:53 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 22:55:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4b8ba6
7
8 tmpfiles.eclass: fix 'if' statement syntax
9
10 eclass/tmpfiles.eclass | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass
14 index d66545e..e59f200 100644
15 --- a/eclass/tmpfiles.eclass
16 +++ b/eclass/tmpfiles.eclass
17 @@ -66,7 +66,7 @@ dotmpfiles() {
18 use kernel_linux || return 0
19 local f
20 for f; do
21 - if [[ ${f} != *.conf ]]
22 + if [[ ${f} != *.conf ]]; then
23 die "tmpfiles.d files must end with .conf"
24 fi
25 done