From 09733d3fae77265263b1e918b9fce66a1c7a519a Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 10 Dec 2013 22:34:40 -0600 Subject: 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(-) (limited to 'sh/tmpfiles.sh.in') diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in index b59f4cb1..1a263f22 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='' -- cgit v1.2.3