From 7b975041ea5dfe72e19f00bbf1237f8e3cb3e7f3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 6 Jul 2000 14:41:56 +0000 Subject: no_comment --- rescue/make_rescue_img | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rescue/make_rescue_img') diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index ffe078992..32186628a 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -35,6 +35,10 @@ sub install_lib { _ "$sudo rm -rf $tmp" if -e $tmp; _ "mkdir $tmp"; _ 'find . -name "*~" | xargs rm -f'; +foreach (cat_("dirs")) { + chomp; + commands::mkdir_("-p", "$tmp$_"); +} _ "cp -a tree/* $tmp"; _ "find $tmp -name 'CVS*' | xargs rm -rf"; _ "cd $tmp; mkdir -p lib tmp modules proc"; @@ -51,10 +55,6 @@ foreach (cat_("list"), cat_(`../tools/specific_arch list`)) { install($_); chomp, install_lib($_) foreach `ldd $_ 2>/dev/null | grep "=>" | sed -e 's/.*=> //' -e 's/ .*//'`; } -foreach (cat_("dirs")) { - chomp; - commands::mkdir_("-p", "$tmp$_"); -} foreach (cat_("aliases")) { chomp; my ($f, $dest) = split; symlink $dest, "$tmp$f"; -- cgit v1.2.1