r3258: *** empty log message ***
[lml.git] / downloads.lisp
index 68362f76b4be0160b974004cc0cb42db404e91c4..affe2c63a4ca1c54cb8d563eab0083130904c675 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: downloads.lisp,v 1.3 2002/10/14 03:27:38 kevin Exp $
+;;;; $Id: downloads.lisp,v 1.6 2002/10/31 18:52:23 kevin Exp $
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -38,7 +38,7 @@
      :name (pathname-name file)
      :type (pathname-type file)
      :directory 
-     (when (> (length bdir) (length fdir))
+     (when (> (length fdir) (length bdir))
        (append '(:absolute) 
               (subseq fdir (length bdir) (length fdir)))))))
      
     (let ((title (car sects))
          (value (cadr sects)))
       (if (consp title)
-         (mapcar #'display-sections sects)
-       (if (consp  value)
+         (map nil #'display-sections sects)
+       (if (consp value)
            (progn
              (print-sect-title title)
              (incf *section-indent*)
        (*base-name* pkg-base)
        (*signed* nil))
     (display-header pkg-name ftp-url)
-    (mapcar #'display-sections sects)
+    (map nil #'display-sections sects)
     (display-footer)))
 
 (defun std-dl-page (pkg-name pkg-base ftp-base ftp-url)
                                    :type :wild :name :wild)
                     base))
          (w32-path (merge-pathnames
-                    (make-pathname :directory '(:relative "w32")
+                    (make-pathname :directory '(:relative "win32")
                                    :type :wild :name :wild)
                     base)))
       (display-page pkg-name pkg-base ftp-base ftp-url