From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6A54913827E for ; Wed, 11 Dec 2013 04:47:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48E2AE0AF9; Wed, 11 Dec 2013 04:47:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D18E9E0AF9 for ; Wed, 11 Dec 2013 04:47:46 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB14A33F5C0 for ; Wed, 11 Dec 2013 04:47:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 387F7D0045 for ; Wed, 11 Dec 2013 04:47:44 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1386736480.09733d3fae77265263b1e918b9fce66a1c7a519a.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/tmpfiles.sh.in X-VCS-Directories: sh/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 09733d3fae77265263b1e918b9fce66a1c7a519a X-VCS-Branch: master Date: Wed, 11 Dec 2013 04:47:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b9ebd196-3e8d-46b3-a9e6-3f9df70f52fd X-Archives-Hash: 1e08c39234ad5aec002d88d74e9c5338 commit: 09733d3fae77265263b1e918b9fce66a1c7a519a Author: William Hubbs gmail com> AuthorDate: Wed Dec 11 04:34:40 2013 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Dec 11 04:34:40 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=09733d3f tmpfiles.sh: small fixes Change "sort | uniq" to "sort -u". Also, change `...` to $(...). X-Gentoo-Bug: 493736 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=493736 --- sh/tmpfiles.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in index b59f4cb..1a263f2 100755 --- a/sh/tmpfiles.sh.in +++ b/sh/tmpfiles.sh.in @@ -234,7 +234,7 @@ for d in ${tmpfiles_dirs} ; do [ -f $f ] && tmpfiles_basenames="${tmpfiles_basenames}\n${f##*/}" done # for f in ${d} done # for d in ${tmpfiles_dirs} -tmpfiles_basenames="`printf "${tmpfiles_basenames}\n" | sort | uniq`" +tmpfiles_basenames="$(printf "${tmpfiles_basenames}\n" | sort -u )" for b in $tmpfiles_basenames ; do real_f=''