mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
'ros version' to show sbcl-bin-variant
This commit is contained in:
parent
ed1f7c6eda
commit
83a37a257b
|
|
@ -18,6 +18,7 @@ exec ros -Q -m roswell -N roswell -- $0 "$@"
|
|||
(curl (version "curl"))
|
||||
(asdf (version "asdf"))
|
||||
(conf (version "confdir"))
|
||||
(variant (version "sbcl-bin-variant"))
|
||||
(home (roswell.util:homedir)))
|
||||
(unless (zerop (length revision))
|
||||
(setf revision (format nil "(~A)" revision)))
|
||||
|
|
@ -34,5 +35,6 @@ exec ros -Q -m roswell -N roswell -- $0 "$@"
|
|||
(format *error-output* "lispdir='~A'~%" (opt "lispdir"))
|
||||
(format *error-output* "homedir='~A'~%" home)
|
||||
(unless (or (zerop (length conf)) (equal home conf))
|
||||
(format *error-output* "configdir='~A'~%" conf))))
|
||||
(format *error-output* "configdir='~A'~%" conf))
|
||||
(format *error-output* "sbcl-bin-variant='~A'~%" variant)))
|
||||
;;; vim: set ft=lisp lisp:
|
||||
|
|
|
|||
|
|
@ -102,6 +102,8 @@ DEF_SUBCMD(cmd_internal_version) {
|
|||
printf("%s\n",ROS_REVISION);
|
||||
}else if(strcmp(arg1,"sbcl-bin-version-uri")==0) {
|
||||
printf("%s\n",PLATFORM_TSV_URI);
|
||||
}else if (strcmp(arg1,"sbcl-bin-variant")==0) {
|
||||
printf("%s\n",SBCL_BIN_VARIANT);
|
||||
}else if(strcmp(arg1,"sbcl-bin-uri")==0) {
|
||||
printf("%s\n",SBCL_BIN_URI);
|
||||
}else if(strcmp(arg1,"glibc")==0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue