summaryrefslogtreecommitdiffstats
path: root/kernel/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-11 13:04:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-11 13:04:27 +0000
commitc522504578e642f961ed29fb035e9e5da8f70521 (patch)
treed31aba77f24629dfef165088c9195b004bfcc84a /kernel/update_kernel
parentf259e13c6765add90189919e5efdf9cb29753fed (diff)
downloaddrakx-backup-do-not-use-c522504578e642f961ed29fb035e9e5da8f70521.tar
drakx-backup-do-not-use-c522504578e642f961ed29fb035e9e5da8f70521.tar.gz
drakx-backup-do-not-use-c522504578e642f961ed29fb035e9e5da8f70521.tar.bz2
drakx-backup-do-not-use-c522504578e642f961ed29fb035e9e5da8f70521.tar.xz
drakx-backup-do-not-use-c522504578e642f961ed29fb035e9e5da8f70521.zip
- 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)
Diffstat (limited to 'kernel/update_kernel')
-rwxr-xr-xkernel/update_kernel3
1 files changed, 2 insertions, 1 deletions
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`