diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-10 00:03:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-10 00:03:51 +0000 |
commit | 0009d030c3c71f907a253d8935c22e2e18de7fa6 (patch) | |
tree | 9b13892a05032f6d4345b2b37a38a23abe504131 /pkgtools | |
parent | dcad3941ffd17caaf3da16602a0051a92d514a91 (diff) | |
download | pkgsrc-0009d030c3c71f907a253d8935c22e2e18de7fa6.tar.gz |
Actually assign variable that tells the caller that we got a match.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/admin/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/admin/main.c b/pkgtools/pkg_install/files/admin/main.c index f39f222650b..79b5b10e125 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.23 2007/08/09 23:54:17 joerg Exp $ */ +/* $NetBSD: main.c,v 1.24 2007/08/10 00:03:51 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.23 2007/08/09 23:54:17 joerg Exp $"); +__RCSID("$NetBSD: main.c,v 1.24 2007/08/10 00:03:51 joerg Exp $"); #endif /* @@ -768,6 +768,7 @@ set_installed_info_var(const char *name, void *cookie) retval = var_set(filename, arg->variable, arg->value); free(filename); + arg->got_match = 1; return retval; } |