aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-12-10 22:34:40 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-12-10 22:34:40 -0600
commit09733d3fae77265263b1e918b9fce66a1c7a519a (patch)
tree68d7ee2a30ff6f3d1686bcb4c7a511a183ac74d2 /sh
parent7230b29bf365ab05f656bb5bbba471ead2597bf7 (diff)
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
Diffstat (limited to 'sh')
-rwxr-xr-xsh/tmpfiles.sh.in2
1 files changed, 1 insertions, 1 deletions
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=''