Author: bapt
Date: Fri Mar  8 10:43:03 2013
New Revision: 248033
URL: http://svnweb.freebsd.org/changeset/base/248033

Log:
  Fix bootstrapping pkgng by not appending "/latest/" to PACKAGESITE.
  
  Reporter by : Alexander Yerenkow (via irc)

Modified:
  head/usr.sbin/pkg/pkg.c

Modified: head/usr.sbin/pkg/pkg.c
==============================================================================
--- head/usr.sbin/pkg/pkg.c     Fri Mar  8 10:37:17 2013        (r248032)
+++ head/usr.sbin/pkg/pkg.c     Fri Mar  8 10:43:03 2013        (r248033)
@@ -167,7 +167,7 @@ bootstrap_pkg(void)
                warnx("No MIRROR_TYPE defined");
                return (-1);
        }
-       snprintf(url, MAXPATHLEN, "%s/latest/Latest/pkg.txz", packagesite);
+       snprintf(url, MAXPATHLEN, "%s/Latest/pkg.txz", packagesite);
 
        snprintf(tmppkg, MAXPATHLEN, "%s/pkg.txz.XXXXXX",
            getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to