From c522504578e642f961ed29fb035e9e5da8f70521 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Feb 2003 13:04:27 +0000 Subject: - better error message for bad modules in modules.pl - handle the exit code of modules.pl (so that .mar files not generated is more understandable) --- kernel/update_kernel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/update_kernel') diff --git a/kernel/update_kernel b/kernel/update_kernel index bbfa405c3..4ed1ff246 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -93,7 +93,8 @@ for i in $ALL_KERNELS/*; do done cp -f all.modules/$main/modules.description . -eval `perl modules.pl images` +l=`perl modules.pl images` || exit 1 +eval $l for i in $ALL_KERNELS/*; do kern=`basename $i` -- cgit v1.2.1