From 2e4e55a6e5cc8347be8d5f74bdca2760307a3b30 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Mon, 23 Nov 2009 07:02:25 -0600 Subject: [PATCH] Fix typo for Gentoo bug #294138 --- ChangeLog | 3 +++ defaults/linuxrc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 83561d6..a42f5ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ # Distributed under the GPL v2 # $Id$ + 23 Nov 2009; Andrew Gaffney defaults/linuxrc: + Fix typo for Gentoo bug #294138 + 16 Nov 2009; Andrew Gaffney gen_initramfs.sh: Make sure to change back to existant directory before removing the current directory for Gentoo bug #291794 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 -- 2.26.2