summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-04-14 10:43:25 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-04-14 10:43:25 +0000
commit2d571516ebd71a54409f47e0701bd27667d9f715 (patch)
tree7c9e68173b202e96f90ccd09f17aaaf44177db6c /eclass/kernel-2.eclass
parentfixed typo in url (diff)
downloadgentoo-2-2d571516ebd71a54409f47e0701bd27667d9f715.tar.gz
gentoo-2-2d571516ebd71a54409f47e0701bd27667d9f715.tar.bz2
gentoo-2-2d571516ebd71a54409f47e0701bd27667d9f715.zip
Fixes bug #84856, thanks to Florian Westphal
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 294fce9c7138..0cb1499554cb 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.120 2005/04/13 08:50:22 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.121 2005/04/14 10:43:25 johnm Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -597,7 +597,7 @@ unipatch() {
if [ -n "${UNIPATCH_STRICTORDER}" ]; then
unset z
- STRICT_COUNT=$((${STRICT_COUNT} + 1))
+ STRICT_COUNT=$((10#${STRICT_COUNT} + 1))
for((y=0; y<$((6 - ${#STRICT_COUNT})); y++));
do z="${z}0";
done
@@ -646,7 +646,7 @@ unipatch() {
if [ -n "${UNIPATCH_STRICTORDER}" ]; then
unset z
- STRICT_COUNT=$((${STRICT_COUNT} + 1))
+ STRICT_COUNT=$((10#${STRICT_COUNT} + 1))
for((y=0; y<$((6 - ${#STRICT_COUNT})); y++));
do z="${z}0";
done