aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2009-11-23 07:02:25 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2009-11-23 07:02:25 -0600
commit2e4e55a6e5cc8347be8d5f74bdca2760307a3b30 (patch)
tree46c57deddabed92f999961302d134a9060815aaf /defaults/linuxrc
parentMake sure to change back to existant directory before removing the current di... (diff)
downloadgenkernel-2e4e55a6e5cc8347be8d5f74bdca2760307a3b30.tar.gz
genkernel-2e4e55a6e5cc8347be8d5f74bdca2760307a3b30.tar.bz2
genkernel-2e4e55a6e5cc8347be8d5f74bdca2760307a3b30.zip
Fix typo for Gentoo bug #294138
Diffstat (limited to 'defaults/linuxrc')
-rwxr-xr-xdefaults/linuxrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index d9b9c24..0f47215 100755
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -647,8 +647,8 @@ then
directory="${directory#${NEW_ROOT}/${FS_LOCATION}/}"
# Skip this directory if we already linked a parent directory
- if [ "${curent_parrent}" != '' ]; then
- var=`echo "${directory}" | grep "^${curent_parrent}"`
+ if [ "${current_parent}" != '' ]; then
+ var=`echo "${directory}" | grep "^${current_parent}"`
if [ "${var}" != '' ]; then
continue
fi