diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-11-30 18:28:33 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-11-30 18:28:33 +0000 |
commit | 3df88d5aac1b924d0b37864c85e19e3378c0b382 (patch) | |
tree | 208111a0dcd688ab07699c2e15e1336238d126d9 /scripts | |
parent | a641ab717a188a04d9fe4b10372bb4e22e118994 (diff) | |
download | bootsplash-3df88d5aac1b924d0b37864c85e19e3378c0b382.tar bootsplash-3df88d5aac1b924d0b37864c85e19e3378c0b382.tar.gz bootsplash-3df88d5aac1b924d0b37864c85e19e3378c0b382.tar.bz2 bootsplash-3df88d5aac1b924d0b37864c85e19e3378c0b382.tar.xz bootsplash-3df88d5aac1b924d0b37864c85e19e3378c0b382.zip |
Do not derefence symlinks, we copy the target too
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/make-boot-splash-raw | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make-boot-splash-raw b/scripts/make-boot-splash-raw index 26dda34..2b3c034 100755 --- a/scripts/make-boot-splash-raw +++ b/scripts/make-boot-splash-raw @@ -31,7 +31,7 @@ if `/bin/zcat $initrd_file 2> /dev/null | /bin/cpio -t &> /dev/null`; then 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 + sort -u | cpio -o -c --quiet -O $tmp_dir/initrd --append 2>/dev/null fi gzip -9 -c $tmp_dir/initrd > $initrd_file rm -rf $tmp_dir |