Fix typo for Gentoo bug #294138
authorAndrew Gaffney <agaffney@gentoo.org>
Mon, 23 Nov 2009 13:02:25 +0000 (07:02 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Mon, 23 Nov 2009 13:02:25 +0000 (07:02 -0600)
ChangeLog
defaults/linuxrc

index 83561d6b650507f6aa197083dcd7c3d08f4be821..a42f5edfad72b13d5ce335720f874bd7f35dbd26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 # Distributed under the GPL v2
 # $Id$
 
+  23 Nov 2009; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc:
+  Fix typo for Gentoo bug #294138
+
   16 Nov 2009; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
   Make sure to change back to existant directory before removing the current
   directory for Gentoo bug #291794
index d9b9c24cf0bd43c82b80d76a120a12910b6c7f36..0f47215ebaa54cf0db3fc6972ed2cce7d042ead2 100755 (executable)
@@ -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