From 599cb5da3d0238bb5f7734de1d090bf7bc2e4420 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 5 Nov 1997 07:48:52 +0000 Subject: [PATCH] Make extract_dist use the getit information. (Correct fix) --- distrib/utils/sysinst/util.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/distrib/utils/sysinst/util.c b/distrib/utils/sysinst/util.c index 1d1d5d582900..00890557f378 100644 --- a/distrib/utils/sysinst/util.c +++ b/distrib/utils/sysinst/util.c @@ -1,4 +1,4 @@ -/* $NetBSD: util.c,v 1.14 1997/11/05 07:28:40 jonathan Exp $ */ +/* $NetBSD: util.c,v 1.15 1997/11/05 07:48:52 phil Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -307,10 +307,13 @@ extract_dist (void) list = dist_list; while (list->name) { - (void)snprintf (distname, STRSIZE, list->name, rels, - dist_postfix); - (void)snprintf (fname, STRSIZE, "%s/%s", extdir, distname); - extract_file (fname); + if (list->getit) { + (void)snprintf (distname, STRSIZE, list->name, rels, + dist_postfix); + (void)snprintf (fname, STRSIZE, "%s/%s", extdir, + distname); + extract_file (fname); + } list++; } }