diff options
author | xtraeme <xtraeme> | 2007-04-12 22:39:36 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2007-04-12 22:39:36 +0000 |
commit | 58160bc2cfbf0e4af5571311a3ad119ae84b6cc8 (patch) | |
tree | c2ab524bb0ba9b1eb5962e784f9ef05aa7853cc2 /sysutils/mklivecd | |
parent | 95a8caef34de70e12b17f9799fb396b69f787d98 (diff) | |
download | pkgsrc-58160bc2cfbf0e4af5571311a3ad119ae84b6cc8.tar.gz |
Fix previous, only check for kernel config and not for the work
directory... which might not be created yet.
Diffstat (limited to 'sysutils/mklivecd')
-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 261a74e6a4e..ed4d4ea4b73 100755 --- a/sysutils/mklivecd/files/mklivecd.sh +++ b/sysutils/mklivecd/files/mklivecd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: mklivecd.sh,v 1.41 2007/04/12 22:31:16 xtraeme Exp $ +# $NetBSD: mklivecd.sh,v 1.42 2007/04/12 22:39:36 xtraeme 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 [ ! -d $WORKDIR/$kernname -a ! -f $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.41 2007/04/12 22:31:16 xtraeme Exp $ +# \$NetBSD: mklivecd.sh,v 1.42 2007/04/12 22:39:36 xtraeme Exp $ # # PROVIDE: root |