diff options
author | joerg <joerg@pkgsrc.org> | 2008-03-15 10:55:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-03-15 10:55:34 +0000 |
commit | 67bb1dc7618322f79814b83ce48d05f872ca1c2e (patch) | |
tree | 910386c9aef05a6676f6eff931e9a28a037b9400 /pkgtools | |
parent | 673b0dc8420200b09ff934e4388ec3932e66debe (diff) | |
download | pkgsrc-67bb1dc7618322f79814b83ce48d05f872ca1c2e.tar.gz |
Fix bootstrap build. From Stoned Elipot.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/admin/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgtools/pkg_install/files/admin/main.c b/pkgtools/pkg_install/files/admin/main.c index b9d4e360524..283ba6decf4 100644 --- a/pkgtools/pkg_install/files/admin/main.c +++ b/pkgtools/pkg_install/files/admin/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.38 2008/03/13 16:35:30 joerg Exp $ */ +/* $NetBSD: main.c,v 1.39 2008/03/15 10:55:34 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -8,7 +8,7 @@ #include <sys/cdefs.h> #endif #ifndef lint -__RCSID("$NetBSD: main.c,v 1.38 2008/03/13 16:35:30 joerg Exp $"); +__RCSID("$NetBSD: main.c,v 1.39 2008/03/15 10:55:34 joerg Exp $"); #endif /*- @@ -521,13 +521,13 @@ main(int argc, char *argv[]) } else if (strcasecmp(argv[0], "unset") == 0) { argv++; /* "unset" */ set_unset_variable(argv, TRUE); - } else if (strcasecmp(argv[0], "fetch-pkg-vulnerabilities") == 0) { + } +#ifndef BOOTSTRAP + else if (strcasecmp(argv[0], "fetch-pkg-vulnerabilities") == 0) { fetch_pkg_vulnerabilities(--argc, ++argv); } else if (strcasecmp(argv[0], "check-pkg-vulnerabilities") == 0) { check_pkg_vulnerabilities(--argc, ++argv); - } -#ifndef BOOTSTRAP - else if (strcasecmp(argv[0], "audit") == 0) { + } else if (strcasecmp(argv[0], "audit") == 0) { audit_pkgdb(--argc, ++argv); } else if (strcasecmp(argv[0], "audit-pkg") == 0) { audit_pkg(--argc, ++argv); |