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/info Pullup 1.32 [hubertf]:



details:   https://anonhg.NetBSD.org/src/rev/c50d3905fdbd
branches:  netbsd-1-5
changeset: 489887:c50d3905fdbd
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 03:20:02 2000 +0000

description:
Pullup 1.32 [hubertf]:
Check right variable to see if it's a URL (pkg -> cp)

diffstat:

 usr.sbin/pkg_install/info/perform.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r d7fe1fd177b2 -r c50d3905fdbd usr.sbin/pkg_install/info/perform.c
--- a/usr.sbin/pkg_install/info/perform.c       Wed Oct 18 03:19:10 2000 +0000
+++ b/usr.sbin/pkg_install/info/perform.c       Wed Oct 18 03:20:02 2000 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: perform.c,v 1.31 2000/05/15 23:14:42 hubertf Exp $     */
+/*     $NetBSD: perform.c,v 1.31.4.1 2000/10/18 03:20:02 tv Exp $      */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.23 1997/10/13 15:03:53 jkh Exp";
 #else
-__RCSID("$NetBSD: perform.c,v 1.31 2000/05/15 23:14:42 hubertf Exp $");
+__RCSID("$NetBSD: perform.c,v 1.31.4.1 2000/10/18 03:20:02 tv Exp $");
 #endif
 #endif
 
@@ -76,7 +76,7 @@
        }
 
        if (cp) {
-               if (IS_URL(pkg)) {
+               if (IS_URL(cp)) {
                        /* file is already unpacked by fileGetURL() */
                        strcpy(PlayPen, cp);
                } else {



Home | Main Index | Thread Index | Old Index