summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:23:16 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:23:16 +0000
commit4b245fe6356ee690b5e230141106a63860e54281 (patch)
treef8172988e9fc4fea303b2953a76fa52568fe65ee
parentAdd new dodoc implementation for EAPI 3. Thanks to to Tiziano Müller (diff)
downloadportage-multirepo-4b245fe6356ee690b5e230141106a63860e54281.tar.gz
portage-multirepo-4b245fe6356ee690b5e230141106a63860e54281.tar.bz2
portage-multirepo-4b245fe6356ee690b5e230141106a63860e54281.zip
Use ret|=1 instead of ++ret, to avoid possible overflow. (trunk r13383)
svn path=/main/branches/2.1.6/; revision=13535
-rw-r--r--bin/ebuild-helpers/3/dodoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/3/dodoc b/bin/ebuild-helpers/3/dodoc
index f8aeaf76..4e7c934a 100644
--- a/bin/ebuild-helpers/3/dodoc
+++ b/bin/ebuild-helpers/3/dodoc
@@ -42,7 +42,7 @@ for x in "$@" ; do
elif [ ! -e "${x}" ] ; then
echo "!!! ${0##*/}: $x does not exist" 1>&2
- ((++ret))
+ ((ret|=1))
fi
done