summaryrefslogtreecommitdiffstats
path: root/bin/prepalldocs
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-04-15 18:42:28 +0000
committerSimon Stelling <blubb@gentoo.org>2006-04-15 18:42:28 +0000
commitd68ec90157a963f3483c09915b1844ee43b4ac77 (patch)
tree6553f68fc4267b99784f10fb2fe03a3454505eef /bin/prepalldocs
parent1b7e9bacc284926b12a4d64a288d373de8b1708f (diff)
downloadportage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.gz
portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.bz2
portage-d68ec90157a963f3483c09915b1844ee43b4ac77.zip
`` must die
svn path=/main/trunk/; revision=3155
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"