summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-11-21 19:42:04 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-11-21 19:42:04 +0000
commit5b0713ebcc1f37580f7128c4893682ac9f20d69f (patch)
tree0d68240a1b65fee7fc5b5f8ecd5d1f614ca836a8 /update_kernel
parentf0d60b1016285225dd7c54b4d7e720656ba167f8 (diff)
downloaddrakx-backup-do-not-use-5b0713ebcc1f37580f7128c4893682ac9f20d69f.tar
drakx-backup-do-not-use-5b0713ebcc1f37580f7128c4893682ac9f20d69f.tar.gz
drakx-backup-do-not-use-5b0713ebcc1f37580f7128c4893682ac9f20d69f.tar.bz2
drakx-backup-do-not-use-5b0713ebcc1f37580f7128c4893682ac9f20d69f.tar.xz
drakx-backup-do-not-use-5b0713ebcc1f37580f7128c4893682ac9f20d69f.zip
i810fb
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel7
1 files changed, 4 insertions, 3 deletions
diff --git a/update_kernel b/update_kernel
index 74c86c322..8a22ca68c 100755
--- a/update_kernel
+++ b/update_kernel
@@ -16,9 +16,10 @@ function create_marfile() {
needed=`cat modules.dep | perl -ne "print "'$1'" if /^$j: (.*)/"`
for k in $needed
do
- [ -z "`echo $* | grep $k`" ] \
- && [ -z "`echo $PCMCIA_COREMODULES | grep $k`" ] \
- && echo "WARNING! in $marfile, $k is missing (required by $i)"
+ [ -z "`echo $* | grep $k`" ] \
+ && [ -z "`echo $PCMCIA_COREMODULES | grep $k`" ] \
+ && echo "ERROR: in $marfile, $k is missing (required by $i)" \
+ && exit 1
done
done
$GIBASEDIR/mdk-stage1/mar/mar -c $marfile $(ls $*)