diff options
author | hauke <hauke> | 2007-06-21 12:21:10 +0000 |
---|---|---|
committer | hauke <hauke> | 2007-06-21 12:21:10 +0000 |
commit | 26bcb62ef55dda5edb65c345d28cbfeb45e45ef8 (patch) | |
tree | cbfb2328b7376f421e2474d64d6e507afcf7539a | |
parent | d4daceb6beb016e041cd632e9fc54adf0b47047d (diff) | |
download | pkgsrc-26bcb62ef55dda5edb65c345d28cbfeb45e45ef8.tar.gz |
Only complain about a missing kernel config file if we did actually
_not_ find it.
-rwxr-xr-x | sysutils/mklivecd/files/mklivecd.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/mklivecd/files/mklivecd.sh b/sysutils/mklivecd/files/mklivecd.sh index fb098589f58..74630bc00b5 100755 --- a/sysutils/mklivecd/files/mklivecd.sh +++ b/sysutils/mklivecd/files/mklivecd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: mklivecd.sh,v 1.44 2007/04/12 23:08:35 xtraeme Exp $ +# $NetBSD: mklivecd.sh,v 1.45 2007/06/21 12:21:10 hauke Exp $ # # Copyright (c) 2004-2007 Juan Romero Pardines. # All rights reserved. @@ -400,7 +400,7 @@ do_build_kernels() eval bootkern=\$KERNEL_CONFIG_${K} eval kernname=\$KERNEL_NAME_${K} - if [ -f $config_dir/$bootkern ]; then + if [ ! -f $config_dir/$bootkern ]; then showmsg "couldn't find $bootkern, exiting." bye 1 fi @@ -672,7 +672,7 @@ do_cdlive() cat > $ISODIR/etc/rc.d/root <<_EOF_ #!/bin/sh # -# \$NetBSD: mklivecd.sh,v 1.44 2007/04/12 23:08:35 xtraeme Exp $ +# \$NetBSD: mklivecd.sh,v 1.45 2007/06/21 12:21:10 hauke Exp $ # # PROVIDE: root |