Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/pkg_install/add Pull up revision 1.17 (request...
details: https://anonhg.NetBSD.org/src/rev/b0afceea67ed
branches: netbsd-1-5
changeset: 490364:b0afceea67ed
user: he <he%NetBSD.org@localhost>
date: Fri Dec 15 04:05:22 2000 +0000
description:
Pull up revision 1.17 (requested by hubertf):
Accept ``.tbz'' as an alternative suffix; compress with bzip2 if
a .tbz suffix is given. Fix pkg_info to work via ftp, either
via URL on command line or from PKG_PATH environment variable.
diffstat:
usr.sbin/pkg_install/add/main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 5014cdcf2847 -r b0afceea67ed usr.sbin/pkg_install/add/main.c
--- a/usr.sbin/pkg_install/add/main.c Fri Dec 15 03:29:40 2000 +0000
+++ b/usr.sbin/pkg_install/add/main.c Fri Dec 15 04:05:22 2000 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: main.c,v 1.15.2.1 2000/10/18 03:19:10 tv Exp $ */
+/* $NetBSD: main.c,v 1.15.2.2 2000/12/15 04:05:22 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char *rcsid = "from FreeBSD Id: main.c,v 1.16 1997/10/08 07:45:43 charnier Exp";
#else
-__RCSID("$NetBSD: main.c,v 1.15.2.1 2000/10/18 03:19:10 tv Exp $");
+__RCSID("$NetBSD: main.c,v 1.15.2.2 2000/12/15 04:05:22 he Exp $");
#endif
#endif
@@ -157,7 +157,7 @@
/* Maybe just a pkg name w/o pattern was given */
char tmp[FILENAME_MAX];
- snprintf(tmp, sizeof(tmp), "%s-[0-9]*.tgz", *argv);
+ snprintf(tmp, sizeof(tmp), "%s-[0-9]*.t[bg]z", *argv);
s=findbestmatchingname(dirname_of(tmp),
basename_of(tmp));
if (s) {
Home |
Main Index |
Thread Index |
Old Index