mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
copy rosscript to ~/.roswell/bin with and without ros extention.
This commit is contained in:
parent
efad7ea41d
commit
7e1a595a90
|
|
@ -130,7 +130,7 @@
|
|||
(make-pathname
|
||||
:defaults (merge-pathnames "bin/" (homedir))
|
||||
:name (pathname-name from)
|
||||
:type (unless (or #+unix (equalp (pathname-type from) "ros"))
|
||||
:type (unless (or (equalp (pathname-type from) "ros"))
|
||||
(pathname-type from))))))
|
||||
(format *error-output* "~&~A~%" to)
|
||||
(uiop/stream:copy-file from to)
|
||||
|
|
@ -138,7 +138,11 @@
|
|||
#+nil(if (equalp (pathname-type from) "ros")
|
||||
(ros:roswell `("build" ,from "-o" ,to) :interactive nil)
|
||||
(uiop/stream:copy-file from to))
|
||||
#+sbcl(sb-posix:chmod to #o700)))
|
||||
#+sbcl(sb-posix:chmod to #o700)
|
||||
#-unix
|
||||
(when (equalp (pathname-type from) "ros")
|
||||
(setf (pathname-type to) "ros")
|
||||
(uiop/stream:copy-file from to))))
|
||||
|
||||
(defun install-system-script (system)
|
||||
(let ((step 0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue