diff --git a/asdf.asd b/asdf.asd index c6fcf502c07c514cd9836ee163222a3336146699..a5c7787c4105a49d4355ef0d3b47461cc9ac06e2 100644 --- a/asdf.asd +++ b/asdf.asd @@ -74,7 +74,7 @@ :licence "MIT" :description "Another System Definition Facility" :long-description "ASDF builds Common Lisp software organized into defined systems." - :version "2.27" ;; to be automatically updated by make bump-version + :version "2.27.1" ;; to be automatically updated by make bump-version :depends-on () #+asdf3 :encoding #+asdf3 :utf-8 ;; For most purposes, asdf itself specially counts as a builtin system. diff --git a/bin/asdf-builder b/bin/asdf-builder index 3240d1d565e55e5c60fdf592ee9ab8a4825ed5de..c20ed73677ae60f748b217f5c931314c76cc36ad 100755 --- a/bin/asdf-builder +++ b/bin/asdf-builder @@ -183,6 +183,9 @@ (defun next-version (v) (let ((pv (parse-version v 'error))) + (assert (first pv)) + (assert (second pv)) + (unless (third pv) (appendf pv '(0))) (incf (third pv)) (unparse-version pv))) diff --git a/defsystem.lisp b/defsystem.lisp index 69ab0908ac3e3bb6d107170e3897934d5dba1db6..0d8307f2ecc389db9465c8c74635e7c9f9baa287 100644 --- a/defsystem.lisp +++ b/defsystem.lisp @@ -32,11 +32,12 @@ ;; If no absolute pathname was found, we return NIL. (check-type pathname (or null string pathname)) (resolve-symlinks* - (ensure-absolute-pathname - (parse-unix-namestring pathname :type :directory) - #'(lambda () (ensure-absolute-pathname - (load-pathname) 'get-pathname-defaults nil)) - nil))) + (pathname-directory-pathname + (ensure-absolute-pathname + (parse-unix-namestring pathname :type :directory) + #'(lambda () (ensure-absolute-pathname + (load-pathname) 'get-pathname-defaults nil)) + nil)))) ;;; Component class diff --git a/header.lisp b/header.lisp index 1fb52bf146a5b269f91a5f6cf0f9f3bbd1ade5ed..6534c9b085a8e508c99aed5004c23626bd1f1304 100644 --- a/header.lisp +++ b/header.lisp @@ -1,5 +1,5 @@ ;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*- -;;; This is ASDF 2.27: Another System Definition Facility. +;;; This is ASDF 2.27.1: Another System Definition Facility. ;;; ;;; Feedback, bug reports, and patches are all welcome: ;;; please mail to <asdf-devel@common-lisp.net>. diff --git a/test/test-run-program.script b/test/test-run-program.script index 250a3c6bd027dd4c9785da65c5fd49c7cabd4673..a242ec4fbf22d957fccbed1c2a32bcda3ced5464 100644 --- a/test/test-run-program.script +++ b/test/test-run-program.script @@ -172,30 +172,30 @@ Testing run-program ;; a basic smoke test (is (equal '("Single") - (run-program `("/bin/grep" "Single" ,tf) :output :lines))) + (run-program `("grep" "Single" ,tf) :output :lines))) ;; Make sure space is handled correctly (is (equal '("double entry") - (run-program `("/bin/grep" "double entry" ,tf) :output :lines))) + (run-program `("grep" "double entry" ,tf) :output :lines))) ;; Make sure space is handled correctly (is (equal '("triple word entry") - (run-program `("/bin/grep" "triple word entry" ,tf) :output :lines))) + (run-program `("grep" "triple word entry" ,tf) :output :lines))) ;; Testing special characters (loop :for char :across "+-_.,%@:/\\!&*(){}" :for str = (string char) :do (is (equal (list (format nil "escape ~A" str)) (run-program - `("/bin/grep" ,(format nil "[~A]" str) ,tf) + `("grep" ,(format nil "[~A]" str) ,tf) :output :lines)))) ;; Test that run-program signals an error ;; with an executable that doesn't return 0 - (signals subprocess-error (run-program '("/bin/false") :output :lines)) + (signals subprocess-error (run-program '("false") :output :lines)) ;; Test that we can suppress the error on run-program - (is (null (run-program '("/bin/false") + (is (null (run-program '("false") :output :lines :ignore-error-status t)))) t) diff --git a/upgrade.lisp b/upgrade.lisp index e4d60185da6fbcde0d4b4ee0595c077c30fb69a5..7def8e425419a24b38b4ee895d06d2b330f8f26b 100644 --- a/upgrade.lisp +++ b/upgrade.lisp @@ -51,7 +51,7 @@ You can compare this string with e.g.: (ASDF:VERSION-SATISFIES (ASDF:ASDF-VERSIO ;; "3.4.5.67" would be a development version in the official upstream of 3.4.5. ;; "3.4.5.0.8" would be your eighth local modification of official release 3.4.5 ;; "3.4.5.67.8" would be your eighth local modification of development version 3.4.5.67 - (asdf-version "2.27") + (asdf-version "2.27.1") (existing-version (asdf-version))) (setf *asdf-version* asdf-version) (when (and existing-version (not (equal asdf-version existing-version))) diff --git a/version.lisp-expr b/version.lisp-expr index e4971132a0d5c8790eeabaa15d2a3062010827dd..92b7dcbb0705b3408a679a33b7bf43875d8f2b8b 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -1 +1 @@ -"2.27" +"2.27.1"