diff options
author | hauke <hauke@pkgsrc.org> | 2007-06-21 12:21:10 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2007-06-21 12:21:10 +0000 |
commit | 9c3c76433ddda81bd62ceffcd14f4ff907dee18b (patch) | |
tree | cbfb2328b7376f421e2474d64d6e507afcf7539a | |
parent | b26bc51f9086725db1901ccbb655b199484ae8f8 (diff) | |
download | pkgsrc-9c3c76433ddda81bd62ceffcd14f4ff907dee18b.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 |