diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-11-29 11:30:01 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-11-29 11:30:01 +0000 |
commit | 328179a17c470df1a43cc08938d78f2fed41c305 (patch) | |
tree | 70f21cd8596d7960392e124dbf3fada1d5ff4738 /scripts/make-boot-splash-raw | |
parent | 5e12669aa95f5721253a3259a4b89fe19b6d3fd5 (diff) | |
download | bootsplash-328179a17c470df1a43cc08938d78f2fed41c305.tar bootsplash-328179a17c470df1a43cc08938d78f2fed41c305.tar.gz bootsplash-328179a17c470df1a43cc08938d78f2fed41c305.tar.bz2 bootsplash-328179a17c470df1a43cc08938d78f2fed41c305.tar.xz bootsplash-328179a17c470df1a43cc08938d78f2fed41c305.zip |
Fix previous commit to not remove everything
Diffstat (limited to 'scripts/make-boot-splash-raw')
-rwxr-xr-x | scripts/make-boot-splash-raw | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make-boot-splash-raw b/scripts/make-boot-splash-raw index fdd196e..e24cce2 100755 --- a/scripts/make-boot-splash-raw +++ b/scripts/make-boot-splash-raw @@ -27,8 +27,8 @@ if `/bin/zcat $initrd_file 2> /dev/null | /bin/cpio -t &> /dev/null`; then # Avoid duplicate files, adding another copy of glibc each time makes # initrd grow fast /bin/zcat $initrd_file 2> /dev/null | \ - cpio-filter --exclude `/bin/find . -print | sed -e 's,\./,,g' | \ - sed -e 's,^\.$,,' | tr '\n' '|'` > $tmp_dir/initrd + cpio-filter --exclude `/bin/find . -type f -print | sed -e 's,\./,,g' | \ + sed -e 's,^\.$,,' | tr '\n' '|' | sed -e 's/|$//'` > $tmp_dir/initrd /bin/find . -print | sed -e 's,\./,,g' | sed -e 's,^\.$,,' | \ sort -u | cpio -o -c -L --quiet -O $tmp_dir/initrd --append 2>/dev/null |