Browse Source

initramfs: s/folders/directories/g

user/chris/test/patchcksum
Alejandro Mery 13 years ago
parent
commit
96e9a848a4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      target/share/initramfs/build.sh

+ 3
- 3
target/share/initramfs/build.sh

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/share/initramfs/build.sh
# Copyright (C) 2007 - 2008 The OpenSDE Project
# Copyright (C) 2007 - 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -64,9 +64,9 @@ done
#
[ -z "$INITRAMFS_POSTOVERLAY_HOOK" ] || eval "$INITRAMFS_POSTOVERLAY_HOOK"
# remove empty folder, use $INITRAMFS_EMPTY_PATTERN to skip folders
# remove empty directories, use $INITRAMFS_EMPTY_PATTERN to skip directories
#
echo_status "Removing empty folders ..."
echo_status "Removing empty directories ..."
( cd "$rootfs"; find . -type d ) | tac | eval "sed -e '/\.\/\(dev\|sys\|proc\|mnt\|srv\|tmp\|root\|var\)\(\|\/.*\)$/d;' $INITRAMFS_EMPTY_PATTERN" | while read folder; do
count=$( find "$rootfs/$folder" | wc -l )

Loading…
Cancel
Save