summaryrefslogtreecommitdiffstats
path: root/bin/prepalldocs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/prepalldocs')
-rwxr-xr-xbin/prepalldocs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepalldocs b/bin/prepalldocs
index be293003f..16bd4901a 100755
--- a/bin/prepalldocs
+++ b/bin/prepalldocs
@@ -3,13 +3,13 @@
# Distributed under the terms of the GNU General Public License v2
# $Id: /var/cvsroot/gentoo-src/portage/bin/prepalldocs,v 1.6 2004/10/04 13:56:50 vapier Exp $
-z="`find "${D}"usr/share/doc \( -type f -or -type l \) -not -name "*.gz" -not -name "*.js" 2>/dev/null`"
+z="$(find "${D}"usr/share/doc \( -type f -or -type l \) -not -name "*.gz" -not -name "*.js" 2>/dev/null)"
for y in ${z} ; do
if [ -L "${y}" ] ; then
# Symlink ...
mylink="${y}"
- linkto="`readlink "${y}"`"
+ linkto="$(readlink "${y}")"
if [ "${linkto##*.}" != "gz" ] ; then
linkto="${linkto}.gz"