From 749df30984e71a8c7c27a68efd27196a37028842 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 31 May 2001 11:49:08 +0000 Subject: check presence of files from list and list.ARCH --- rescue/make_rescue_img | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index c100f9594..44766f318 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -54,8 +54,12 @@ foreach (keyboard::loadkeys_files) { } unlink "$tmp/usr/lib/kbd/keymaps/i386/qwertz/fr.kmap.gz"; -foreach (cat_("list"), cat_(`../tools/specific_arch list`)) { - chomp; + +@files = map { chomp; $_ } (cat_("list"), cat_(`../tools/specific_arch list`)); +`ls @files`; +$? == 0 or exit 1; + +foreach (@files) { install($_); chomp, install_lib($_) foreach `ldd $_ 2>/dev/null | grep "=>" | sed -e 's/.*=> //' -e 's/ .*//'`; } -- cgit v1.2.1