summaryrefslogtreecommitdiff
path: root/eclass
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
commit8bac07e901e23c67dfa559edd9e47dea2187ac84 (patch)
tree8b305df4120b294d219064e383711b58eb0384fc /eclass
parentfixed typo in url (diff)
downloadhistorical-8bac07e901e23c67dfa559edd9e47dea2187ac84.tar.gz
historical-8bac07e901e23c67dfa559edd9e47dea2187ac84.tar.bz2
historical-8bac07e901e23c67dfa559edd9e47dea2187ac84.zip
Fixes bug #84856, thanks to Florian Westphal
Diffstat (limited to '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