summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-03-10 22:37:55 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-03-10 22:37:55 +0000
commitafe040615f4228a703c8693b81b1bad69b8b6490 (patch)
tree568bd45669a1223be6d12ada515a0dff2340d6e5 /eclass
parentInitial ~sparc. (diff)
downloadhistorical-afe040615f4228a703c8693b81b1bad69b8b6490.tar.gz
historical-afe040615f4228a703c8693b81b1bad69b8b6490.tar.bz2
historical-afe040615f4228a703c8693b81b1bad69b8b6490.zip
Having the /sys check honour ROOT when mkdir'ing
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 70ecbf3da44d..4be894700e53 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.110 2005/03/09 22:03:28 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.111 2005/03/10 22:37:55 johnm Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -378,7 +378,7 @@ postinst_sources() {
fi
# Don't forget to make directory for sysfs
- [[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir /sys
+ [[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir ${ROOT}sys
echo
einfo "After installing a new kernel of any version, it is important"